]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[metacafe] New result format
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 17 Jul 2013 08:49:49 +0000 (10:49 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 17 Jul 2013 08:49:49 +0000 (10:49 +0200)
youtube_dl/extractor/metacafe.py

index d1db26705ddcd7897b4b8f8a87f0cd4168b82044..29c901ab190426ee50567d14a7e59b3854716ae7 100644 (file)
@@ -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,
-        }]
+        }