From: Philipp Hagemeister Date: Tue, 28 Oct 2014 09:41:24 +0000 (+0100) Subject: [generic] Fix HTML5 video regexp X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=48a24ab7465a41822a0fd40bba249520b3a85124;p=youtube-dl [generic] Fix HTML5 video regexp --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 35a7664b2..47580328a 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)