projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a7319
)
[extractor/common] Allow multiline content tags
author
Sergey M․
<dstftw@gmail.com>
Wed, 31 Dec 2014 18:37:14 +0000
(
00:37
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 31 Dec 2014 18:37:14 +0000
(
00:37
+0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 4b950e485241e41d96531a12e7429351fc2e8e2e..6e264f6870811b31b1582cfd022d51799a18968a 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-589,7
+589,7
@@
class InfoExtractor(object):
if display_name is None:
display_name = name
return self._html_search_regex(
- r'''(?ix)<meta
+ r'''(?i
s
x)<meta
(?=[^>]+(?:itemprop|name|property)=(["\']?)%s\1)
[^>]+content=(["\'])(?P<content>.*?)\1''' % re.escape(name),
html, display_name, fatal=fatal, group='content', **kwargs)