Revert "Wimp: adapt to new player"
[videosite.git] / videosite / WimpGrabber.pm
index cda5a95..8d37766 100644 (file)
@@ -72,7 +72,7 @@ sub _parse {
 
     # Look for the download URL
     foreach $e (@text) {
-        if ($e->[0] =~ m|\.setup\(.*file:\s*"([^\x22]+)"|) {
+        if ($e->[0] =~ m|\.addVariable\("file",\s*"([^\x22]+)"\)|) {
             $metadata->{'DLURL'} = $1;
         }
     }