From: Sergey M․ Date: Sat, 15 Aug 2015 09:58:30 +0000 (+0600) Subject: [extractor/common] Expand meta regex X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8b9848ac5678356757f67a412f7ed89a0f559be7;p=youtube-dl [extractor/common] Expand meta regex --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 5982055be..16ae4b98f 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -640,7 +640,7 @@ class InfoExtractor(object): @staticmethod def _meta_regex(prop): return r'''(?isx)]+(?:itemprop|name|property|id)=(["\']?)%s\1) + (?=[^>]+(?:itemprop|name|property|id|http-equiv)=(["\']?)%s\1) [^>]+?content=(["\'])(?P.*?)\2''' % re.escape(prop) def _og_search_property(self, prop, html, name=None, **kargs):