aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-02-26 00:31:08 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-02-26 00:31:08 +0100
commit0d7caf5cdf543189356ed90ea66bc346fec20799 (patch)
treeb1512125b0459940fcea0154791248a40c83cf78
parenta339d7ba91a8fc7c8dc25b318961a01dd1baa6b0 (diff)
parent54ab1939706e9e6f15ea425de81e5c2c8f739137 (diff)
Merge remote-tracking branch 'ruuk/master'
-rw-r--r--youtube_dl/extractor/metacafe.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py
index 99d3c83a5..301031197 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)<title>(.*) - Video</title>', webpage, u'title')
description = self._og_search_description(webpage)
+ thumbnail = self._og_search_thumbnail(webpage)
video_uploader = self._html_search_regex(
r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("(?:channel|submiter)","([^"]+)"\);',
webpage, u'uploader nickname', fatal=False)
@@ -183,6 +184,7 @@ class MetacafeIE(InfoExtractor):
'uploader': video_uploader,
'upload_date': None,
'title': video_title,
+ 'thumbnail':thumbnail,
'ext': video_ext,
'age_limit': age_limit,
}