From: Philipp Hagemeister Date: Wed, 17 Jul 2013 08:49:49 +0000 (+0200) Subject: [metacafe] New result format X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5910724b11301c2cd7dcd4e45901608c527d183f;p=youtube-dl [metacafe] New result format --- diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index d1db26705..29c901ab1 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -125,7 +125,8 @@ class MetacafeIE(InfoExtractor): r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("channel","([^"]+)"\);', webpage, u'uploader nickname', fatal=False) - return [{ + return { + '_type': 'video', 'id': video_id, 'url': video_url, 'description': description, @@ -133,4 +134,4 @@ class MetacafeIE(InfoExtractor): 'upload_date': None, 'title': video_title, 'ext': video_ext, - }] + }