From: Sergey M․ Date: Wed, 31 Dec 2014 18:37:14 +0000 (+0600) Subject: [extractor/common] Allow multiline content tags X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6c6f1408f264f30fc4e2970e958cb7f9dc470d57;p=youtube-dl [extractor/common] Allow multiline content tags --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 4b950e485..6e264f687 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -589,7 +589,7 @@ class InfoExtractor(object): if display_name is None: display_name = name return self._html_search_regex( - r'''(?ix)]+(?:itemprop|name|property)=(["\']?)%s\1) [^>]+content=(["\'])(?P.*?)\1''' % re.escape(name), html, display_name, fatal=fatal, group='content', **kwargs)