diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-12-07 22:18:00 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-12-07 22:18:00 +0600 |
commit | 1775612512aba3c38455e534d423c36c330af35d (patch) | |
tree | 839bef3cab79d2594529a8444e837942bf272422 /youtube_dl/extractor | |
parent | 0d2d967cc77e445c781bf7bd9a00b75b3bc2236e (diff) |
[wimp] Improve video URL regex
Diffstat (limited to 'youtube_dl/extractor')
-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 022a3d1b5..041ff6c55 100644 --- a/youtube_dl/extractor/wimp.py +++ b/youtube_dl/extractor/wimp.py @@ -42,7 +42,7 @@ class WimpIE(InfoExtractor): } video_url = self._search_regex( - r'<video[^>]+>\s*<source src=(["\'])(?P<url>.+?)\1', + r'<video[^>]+>\s*<source[^>]+src=(["\'])(?P<url>.+?)\1', webpage, 'video URL', group='url') return { |