Browse Source

[metacafe] New result format

Philipp Hagemeister 12 years ago
parent
commit
5910724b11
1 changed files with 3 additions and 2 deletions
  1. 3 2
      youtube_dl/extractor/metacafe.py

+ 3 - 2
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,
-        }]
+        }