From f085f960e7d4f1883a12575fcbcd95de75d7437d Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 17 Jul 2013 10:45:24 +0200 Subject: [PATCH] [metacafe] Fix uploader detection --- youtube_dl/extractor/metacafe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index 94d9ef62f4..ad41f50eb4 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -119,7 +119,9 @@ class MetacafeIE(InfoExtractor): video_ext = determine_ext(video_url) video_title = self._html_search_regex(r'(?im)(.*) - Video', webpage, u'title') - video_uploader = self._html_search_regex(r'submitter=(.*?);|

\s*By\s*]*>(.*?)', webpage, u'uploader nickname', fatal=False) + video_uploader = self._html_search_regex( + r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("channel","([^"]+)"\);', + webpage, u'uploader nickname', fatal=False) return [{ 'id': video_id,