Youtube: Disable the scrap handlers for the 2009 and 2010 page formats, they should...
[videosite.git] / videosite / MetaCafeGrabber.pm
index 5f14049..e134bec 100644 (file)
@@ -8,7 +8,6 @@ package videosite::MetaCafeGrabber;
 use videosite::GrabberBase;
 @ISA = qw(videosite::GrabberBase);
 
-use LWP::Simple qw(!get);
 use HTML::Parser;
 use Data::Dumper;
 
@@ -49,7 +48,7 @@ sub _parse {
     $metadata->{'TITLE'} = undef;
     $metadata->{'DLURL'} = undef;
 
-    unless(defined($content = LWP::Simple::get(sprintf('http://www.metacafe.com/watch/%s', $2)))) {
+    unless(defined($content = $self->simple_get(sprintf('http://www.metacafe.com/watch/%s', $2)))) {
         $self->error('Could not download %s', $url);
         return undef;
     }