From 5910724b11301c2cd7dcd4e45901608c527d183f Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 17 Jul 2013 10:49:49 +0200 Subject: [PATCH] [metacafe] New result format --- youtube_dl/extractor/metacafe.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 @@ def _real_extract(self, url): 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 @@ def _real_extract(self, url): 'upload_date': None, 'title': video_title, 'ext': video_ext, - }] + }