Allow proper subclassing of complete Getters/Grabbers
[videosite.git] / videosite / FileGetter.pm
index 0d2b250..b2a0cea 100644 (file)
@@ -20,6 +20,7 @@ sub new {
             MINFREE => ['500000', 'The amount of space that needs to be available on the filesystem before the video is downloaded (in kilobytes)'],
             FILEPATTERN => ['/tmp/%s - %s - %s.flv', "The file name to save the file under. This is a string which is passed to a sprintf call later on. The parameters passed to that sprintf call, in order, are:\n- The site the video is from\n- The ID of the video\n- The title of the video\n- The URL of the video file itself\n- The URL of the site the video was taken from\nAll parameters are encoded (space and / replaced by _)"]
         },
+        @_,
     );
 
     return bless($self, $class);