commit 5b0c40da24b5ddb789428de731e02ac8759a363c
parent e0ac521438218e978b9c4bbcd92cfc2d5fef79cb
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 8 Aug 2015 03:36:29 +0600
[extractor/common] Expand meta regex
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)<meta
- (?=[^>]+(?:itemprop|name|property)=(["\']?)%s\1)
+ (?=[^>]+(?:itemprop|name|property|id)=(["\']?)%s\1)
[^>]+?content=(["\'])(?P<content>.*?)\2''' % re.escape(prop)
def _og_search_property(self, prop, html, name=None, **kargs):