[wimp] Improve video URL regex

pull/7792/head
Sergey M․ 9 years ago
parent 0d2d967cc7
commit 1775612512

@ -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 {

Loading…
Cancel
Save