- Fix regex some more
[videosite.git] / videosite / DailyMotionGrabber.pm
index d08e71b..12c76a0 100644 (file)
@@ -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);