From aaebed13a8447961e23cca9c75b097732c246476 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 2 Dec 2013 17:08:17 +0100 Subject: [smotri] Simplify --- youtube_dl/extractor/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'youtube_dl/extractor/common.py') 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)]+(?:name|property)=["\']%s["\']) + r'''(?ix)]+(?:itemprop|name|property)=["\']%s["\']) [^>]+content=["\']([^"\']+)["\']''' % re.escape(name), html, display_name, fatal=False) -- cgit v1.2.3