X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite%2FDailyMotionGrabber.pm;h=24afc7d29c094c8e13eb2d852f6b7a40f30b0f3a;hb=04ab1c3a6f2107d94804fc7c99ecce659d1ee1b8;hp=b77c119356d38417174c9ab994a150074c5da60e;hpb=0125f16e4a1dab238f9783ee1271b58947ab19f8;p=videosite.git diff --git a/videosite/DailyMotionGrabber.pm b/videosite/DailyMotionGrabber.pm index b77c119..24afc7d 100644 --- a/videosite/DailyMotionGrabber.pm +++ b/videosite/DailyMotionGrabber.pm @@ -1,3 +1,8 @@ +# Grabber for dailymotion.com +# +# (c) 2007 by Ralf Ertzinger +# licensed under GNU GPL v2 + package DailyMotionGrabber; use GrabberBase; @@ -18,6 +23,8 @@ sub new { bless($self, $class); + $self->_prepare_parameters(); + return $self; } @@ -38,7 +45,7 @@ sub _parse { $metadata->{'URL'} = $url; $metadata->{'ID'} = $2; $metadata->{'TYPE'} = 'video'; - $metadata->{'SOURCE'} = 'dailymotion'; + $metadata->{'SOURCE'} = $self->{'NAME'}; $metadata->{'TITLE'} = undef; $metadata->{'DLURL'} = undef;