From 48a24ab7465a41822a0fd40bba249520b3a85124 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 28 Oct 2014 10:41:24 +0100 Subject: [PATCH] [generic] Fix HTML5 video regexp --- youtube_dl/extractor/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 35a7664b25..47580328ab 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -933,7 +933,7 @@ class GenericIE(InfoExtractor): found = filter_video(re.findall(r'.*?]+)? src="([^"]+)"', webpage) + found = re.findall(r'(?s).*?]*)?\s+src="([^"]+)"', webpage) if not found: found = re.search( r'(?i)