From 76df418cbac1ed02c8919924d92bd1bc7ddc70d9 Mon Sep 17 00:00:00 2001 From: ruuk Date: Tue, 25 Feb 2014 12:04:44 -0800 Subject: [PATCH 1/2] Add thumbnail for metacafe --- youtube_dl/extractor/metacafe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index 99d3c83a5..364ba993b 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -166,6 +166,7 @@ class MetacafeIE(InfoExtractor): video_title = self._html_search_regex(r'(?im)(.*) - Video', webpage, u'title') description = self._og_search_description(webpage) + thumbnail = self._html_search_regex(r' Date: Tue, 25 Feb 2014 14:41:36 -0800 Subject: [PATCH 2/2] Extract thumbnail with _og_search_thumbnail --- youtube_dl/extractor/metacafe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index 364ba993b..301031197 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -166,7 +166,7 @@ class MetacafeIE(InfoExtractor): video_title = self._html_search_regex(r'(?im)(.*) - Video', webpage, u'title') description = self._og_search_description(webpage) - thumbnail = self._html_search_regex(r'