From: Jaime Marquínez Ferrándiz Date: Sat, 31 Aug 2013 20:35:39 +0000 (+0200) Subject: [metacafe] Add more cases for detecting the uploader detection (reported in #1343) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6c758d79de48956b90d9e78aec695ee0b10b00d2;p=youtube-dl [metacafe] Add more cases for detecting the uploader detection (reported in #1343) --- diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index e38dc98b4..e537648ff 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -122,7 +122,7 @@ class MetacafeIE(InfoExtractor): video_title = self._html_search_regex(r'(?im)(.*) - Video', webpage, u'title') description = self._og_search_description(webpage) video_uploader = self._html_search_regex( - r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("channel","([^"]+)"\);', + r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("(?:channel|submiter)","([^"]+)"\);', webpage, u'uploader nickname', fatal=False) return {