diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-10-28 20:35:02 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-10-28 20:35:02 +0700 |
commit | 632256d9ecd86f17b370b2cbe3f50acdf961d6cc (patch) | |
tree | f5865db0112ed9071d9a2031ca5c7c5a9d5d710a /youtube_dl/extractor/wimp.py | |
parent | 03df7baa6a8dc5cab41f5ce2f0be8cd439a6195d (diff) |
[wimp] Update video URL regex
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 { |