aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-08 03:36:29 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-08 03:36:29 +0600
commit5b0c40da24b5ddb789428de731e02ac8759a363c (patch)
tree3eeb6cd265110de65588894b3d0685e4be1a8f38 /youtube_dl
parente0ac521438218e978b9c4bbcd92cfc2d5fef79cb (diff)
downloadyoutube-dl-5b0c40da24b5ddb789428de731e02ac8759a363c.tar.xz
[extractor/common] Expand meta regex
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
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)<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):