From: Philipp Hagemeister Date: Fri, 21 Nov 2014 21:01:25 +0000 (+0100) Subject: [generic] Add support for single quotes in HTML5 videos (Fixes #4265) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9b32eca3ce6cda72449592c9ab26f73311a613f5;p=youtube-dl [generic] Add support for single quotes in HTML5 videos (Fixes #4265) --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index af769ab61..c7a824c29 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -979,7 +979,7 @@ class GenericIE(InfoExtractor): found = filter_video(re.findall(r'.*?]*)?\s+src="([^"]+)"', webpage) + found = re.findall(r'(?s).*?]*)?\s+src=["\'](.*?)["\']', webpage) if not found: found = re.search( r'(?i)