aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-02 17:08:17 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-02 17:08:17 +0100
commitaaebed13a8447961e23cca9c75b097732c246476 (patch)
treed2cdfb2b600137d419401c2ae57eea4530fafcf0 /youtube_dl/extractor/common.py
parent25939ffe56905784c9260e2fa33231f03ccf08a5 (diff)
[smotri] Simplify
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py3
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)