diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-10-28 23:40:44 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-10-28 23:40:44 +0100 |
commit | 50c8266ef0b2b6d011257a909f47fd623dda8eb2 (patch) | |
tree | 6dc2358a50c57e0712d08643fea5dea4d9faeba0 /youtube_dl/extractor/wimp.py | |
parent | 00edd4f9bef7cf0708d1c4da128477d76115fdec (diff) | |
parent | e0c51cdadc838a67870f5c22c48bb0b9f1951afc (diff) |
Merge branch 'master' of github.com:rg3/youtube-dl
Diffstat (limited to 'youtube_dl/extractor/wimp.py')
-rw-r--r-- | youtube_dl/extractor/wimp.py | 2 |
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 { |