X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite%2FFileGetter.pm;h=b2a0cea6c3fe686ff9fb2367f7432bc46d7b7b5d;hb=7480e9e58db677bad08a47364f20f3fc619fdaf2;hp=0d2b250d0f1a20dbb25227836d5dd4c60bc467ac;hpb=17bca93d2b471f5f099a4046297159a029989430;p=videosite.git diff --git a/videosite/FileGetter.pm b/videosite/FileGetter.pm index 0d2b250..b2a0cea 100644 --- a/videosite/FileGetter.pm +++ b/videosite/FileGetter.pm @@ -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);