mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 00:00:48 +01:00
[metacafe] New result format
This commit is contained in:
parent
7e24b09da9
commit
5910724b11
@ -125,7 +125,8 @@ def _real_extract(self, url):
|
|||||||
r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("channel","([^"]+)"\);',
|
r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("channel","([^"]+)"\);',
|
||||||
webpage, u'uploader nickname', fatal=False)
|
webpage, u'uploader nickname', fatal=False)
|
||||||
|
|
||||||
return [{
|
return {
|
||||||
|
'_type': 'video',
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
'description': description,
|
'description': description,
|
||||||
@ -133,4 +134,4 @@ def _real_extract(self, url):
|
|||||||
'upload_date': None,
|
'upload_date': None,
|
||||||
'title': video_title,
|
'title': video_title,
|
||||||
'ext': video_ext,
|
'ext': video_ext,
|
||||||
}]
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user