diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-12-02 17:08:17 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-12-02 17:08:17 +0100 |
commit | aaebed13a8447961e23cca9c75b097732c246476 (patch) | |
tree | d2cdfb2b600137d419401c2ae57eea4530fafcf0 /youtube_dl/extractor/common.py | |
parent | 25939ffe56905784c9260e2fa33231f03ccf08a5 (diff) |
[smotri] Simplify
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 4f1b50880..1b049082d 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -364,7 +364,8 @@ class InfoExtractor(object): if display_name is None: display_name = name return self._html_search_regex( - r'''(?ix)<meta(?=[^>]+(?:name|property)=["\']%s["\']) + r'''(?ix)<meta + (?=[^>]+(?:itemprop|name|property)=["\']%s["\']) [^>]+content=["\']([^"\']+)["\']''' % re.escape(name), html, display_name, fatal=False) |