summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-01-01 00:37:14 +0600
committerSergey M․ <[email protected]>2015-01-01 00:37:14 +0600
commit6c6f1408f264f30fc4e2970e958cb7f9dc470d57 (patch)
treebb7f0d4f7455696a43b7333fdeee81f5d591e31c
parentb7a7319c388e3a33851d87b589586abb6796a0e5 (diff)
downloadyoutube-dl-6c6f1408f264f30fc4e2970e958cb7f9dc470d57.tar.gz
youtube-dl-6c6f1408f264f30fc4e2970e958cb7f9dc470d57.zip
[extractor/common] Allow multiline content tags
-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 4b950e485..6e264f687 100644
--- 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'''(?isx)<meta
(?=[^>]+(?:itemprop|name|property)=(["\']?)%s\1)
[^>]+content=(["\'])(?P<content>.*?)\1''' % re.escape(name),
html, display_name, fatal=fatal, group='content', **kwargs)