projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ac521
)
[extractor/common] Expand meta regex
author
Sergey M․
<dstftw@gmail.com>
Fri, 7 Aug 2015 21:36:29 +0000
(
03:36
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 7 Aug 2015 21:36:29 +0000
(
03:36
+0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index dc508050413c8490882323e01d91ea3a3ba88c9a..507ea5ec0b13abc2f2077b0096f900d40861fad8 100644
(file)
--- 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):