- my $self = $class->SUPER::new();
-
- $self->{'NAME'} = 'snotr';
- $self->{_SELFTESTURL} = 'http://www.snotr.com/video/1836';
- $self->{_SELFTESTTITLE} = 'Brilliant thief';
- $self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*snotr\.com/video/(\d+))'];
-
- bless($self, $class);
- $self->_prepare_parameters();
-
- return $self;
+ my $self = $class->SUPER::new(
+ NAME => 'snotr',
+ _SELFTESTURL => 'http://www.snotr.com/video/1836',
+ _SELFTESTTITLE => 'Brilliant thief',
+ PATTERNS => ['(http://(?:[-a-zA-Z0-9_.]+\.)*snotr\.com/video/(\d+))'],
+ @_,
+ );
+
+ return bless($self, $class);