- Fix typo
authorRalf Ertzinger <sun@lain.camperquake.de>
Thu, 17 Apr 2008 15:47:01 +0000 (17:47 +0200)
committerRalf Ertzinger <sun@lain.camperquake.de>
Thu, 17 Apr 2008 15:47:01 +0000 (17:47 +0200)
videosite/GoogleGrabber.pm

index 7d9cad6..ad4ace3 100644 (file)
@@ -60,8 +60,8 @@ sub _parse {
     }
 
     while ($e = $p->get_tag('a')) {
-        if ((exists($a->[1]{'id'})) and ('ipoddownloadlink' eq $a->[1]{'id'})) {
-            $metadata->{'DLURL'} = $a->[1]{'href'};
+        if ((exists($e->[1]{'id'})) and ('ipoddownloadlink' eq $e->[1]{'id'})) {
+            $metadata->{'DLURL'} = $e->[1]{'href'};
             last;
         }
     }