Allow proper subclassing of complete Getters/Grabbers
[videosite.git] / videosite / DailyMotionGrabber.pm
index aa7d279..3e1e77f 100644 (file)
@@ -19,6 +19,7 @@ sub new {
     my $self = $class->SUPER::new(
         NAME => 'dailymotion',
         PATTERNS => ['(http://(?:[-a-zA-Z0-9_.]+\.)*dailymotion.com/(?:[^/]+/)*video/([-a-zA-Z0-9_]+))'],
+        @_,
     );
 
     return bless($self, $class);