From: Sergey M․ Date: Mon, 7 Dec 2015 16:18:00 +0000 (+0600) Subject: [wimp] Improve video URL regex X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1775612512aba3c38455e534d423c36c330af35d;p=youtube-dl [wimp] Improve video URL regex --- 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']+>\s*.+?)\1', + r']+>\s*]+src=(["\'])(?P.+?)\1', webpage, 'video URL', group='url') return {