X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite%2FDailyMotionGrabber.pm;h=12c76a0aae0aca9ba5bf4044f23d4db7e5563d08;hb=2d702fc2114f4e3da947d138a84b3a6aef28308c;hp=d08e71bc927f976a7772c742af4d3a0deb3d167a;hpb=b97a01912322f6ebccf2713c3bbbcc266f02c7b5;p=videosite.git diff --git a/videosite/DailyMotionGrabber.pm b/videosite/DailyMotionGrabber.pm index d08e71b..12c76a0 100644 --- a/videosite/DailyMotionGrabber.pm +++ b/videosite/DailyMotionGrabber.pm @@ -1,7 +1,3 @@ -# -# download strategy revised using -# http://www.kde-apps.org/content/show.php?content=41456 - package DailyMotionGrabber; use GrabberBase; @@ -17,8 +13,8 @@ sub new { my $class = shift; my $self = $class->SUPER::new(); - $self->{'NAME'} = 'youtube'; - $self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*.dailymotion.com/(?:[^/]+/)*video/([-a-zA-Z0-9_]+)']; + $self->{'NAME'} = 'dailymotion'; + $self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*dailymotion.com/(?:[^/]+/)*video/([-a-zA-Z0-9_]+))']; bless($self, $class);