From 1775612512aba3c38455e534d423c36c330af35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Mon, 7 Dec 2015 22:18:00 +0600 Subject: [PATCH] [wimp] Improve video URL regex --- youtube_dl/extractor/wimp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {