From: Sergey M․ Date: Fri, 7 Aug 2015 21:36:29 +0000 (+0600) Subject: [extractor/common] Expand meta regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5b0c40da24b5ddb789428de731e02ac8759a363c;p=youtube-dl [extractor/common] Expand meta regex --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index dc5080504..507ea5ec0 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -636,7 +636,7 @@ class InfoExtractor(object): @staticmethod def _meta_regex(prop): return r'''(?isx)]+(?:itemprop|name|property)=(["\']?)%s\1) + (?=[^>]+(?:itemprop|name|property|id)=(["\']?)%s\1) [^>]+?content=(["\'])(?P.*?)\2''' % re.escape(prop) def _og_search_property(self, prop, html, name=None, **kargs):