aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-07-17 10:49:49 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-07-17 10:49:49 +0200
commit5910724b11301c2cd7dcd4e45901608c527d183f (patch)
treede196a2ed79da04319d3d67c2db9f9fb02601468 /youtube_dl/extractor
parent7e24b09da9fc7d77b99e88ea10343476ab92c813 (diff)
[metacafe] New result format
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/metacafe.py5
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,
- }]
+ }