- Manually unescape the download URL for Yahoo, some older versions of XML::Simple...
[videosite.git] / 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/\&/\&/g;
 
     # The XML does not contain the title of the video, for
     # reasons possibly known to some jerk at yahoo.