projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e24b09
)
[metacafe] New result format
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 17 Jul 2013 08:49:49 +0000
(10:49 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 17 Jul 2013 08:49:49 +0000
(10:49 +0200)
youtube_dl/extractor/metacafe.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/metacafe.py
b/youtube_dl/extractor/metacafe.py
index d1db26705ddcd7897b4b8f8a87f0cd4168b82044..29c901ab190426ee50567d14a7e59b3854716ae7 100644
(file)
--- 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,
- }
]
+ }