diff options
| author | Sergey M․ <dstftw@gmail.com> | 2015-01-01 00:37:14 +0600 |
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2015-01-01 00:37:14 +0600 |
| commit | 6c6f1408f264f30fc4e2970e958cb7f9dc470d57 (patch) | |
| tree | bb7f0d4f7455696a43b7333fdeee81f5d591e31c | |
| parent | b7a7319c388e3a33851d87b589586abb6796a0e5 (diff) | |
[extractor/common] Allow multiline content tags
| -rw-r--r-- | youtube_dl/extractor/common.py | 2 |
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) |
