- Manually unescape the download URL for Yahoo, some older versions of XML::Simple...
authorRalf Ertzinger <sun@ryoko.camperquake.de>
Sun, 27 Apr 2008 21:32:51 +0000 (23:32 +0200)
committerRalf Ertzinger <sun@ryoko.camperquake.de>
Sun, 27 Apr 2008 21:32:51 +0000 (23:32 +0200)
videosite/YahooGrabber.pm

index 4c98332..ee91109 100644 (file)
@@ -63,6 +63,7 @@ sub _parse {
     }
 
     $metadata->{'DLURL'} = $t->{'DATA'}->{'SEQUENCE-ITEM'}->{'STREAM'}->{'APP'} . $t->{'DATA'}->{'SEQUENCE-ITEM'}->{'STREAM'}->{'FULLPATH'};
+    $metadata->{'DLURL'} =~ s/\&amp;/\&/g;
 
     # The XML does not contain the title of the video, for
     # reasons possibly known to some jerk at yahoo.