summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-10-28 20:35:02 +0700
committerSergey M․ <dstftw@gmail.com>2014-10-28 20:35:02 +0700
commit632256d9ecd86f17b370b2cbe3f50acdf961d6cc (patch)
treef5865db0112ed9071d9a2031ca5c7c5a9d5d710a
parent03df7baa6a8dc5cab41f5ce2f0be8cd439a6195d (diff)
downloadyoutube-dl-632256d9ecd86f17b370b2cbe3f50acdf961d6cc.tar.gz
youtube-dl-632256d9ecd86f17b370b2cbe3f50acdf961d6cc.tar.xz
youtube-dl-632256d9ecd86f17b370b2cbe3f50acdf961d6cc.zip
[wimp] Update video URL regex
-rw-r--r--youtube_dl/extractor/wimp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wimp.py b/youtube_dl/extractor/wimp.py
index c27dda944..3377a543e 100644
--- a/youtube_dl/extractor/wimp.py
+++ b/youtube_dl/extractor/wimp.py
@@ -37,7 +37,7 @@ class WimpIE(InfoExtractor):
         video_id = mobj.group(1)
         webpage = self._download_webpage(url, video_id)
         video_url = self._search_regex(
-            r's1\.addVariable\("file",\s*"([^"]+)"\);', webpage, 'video URL')
+            r"'file'\s*:\s*'([^']+)'", webpage, 'video URL')
         if YoutubeIE.suitable(video_url):
             self.to_screen('Found YouTube video')
             return {