diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-07-17 10:49:49 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-07-17 10:49:49 +0200 |
commit | 5910724b11301c2cd7dcd4e45901608c527d183f (patch) | |
tree | de196a2ed79da04319d3d67c2db9f9fb02601468 /youtube_dl/extractor/metacafe.py | |
parent | 7e24b09da9fc7d77b99e88ea10343476ab92c813 (diff) |
[metacafe] New result format
Diffstat (limited to 'youtube_dl/extractor/metacafe.py')
-rw-r--r-- | youtube_dl/extractor/metacafe.py | 5 |
1 files 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 @@ 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, - }] + } |