mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[mediaset] Fix upload date
This commit is contained in:
parent
5d29af3d15
commit
d105a7edc6
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ class MediasetIE(InfoExtractor):
|
||||||
'thumbnail': r're:^https?://.*\.jpg$',
|
'thumbnail': r're:^https?://.*\.jpg$',
|
||||||
'duration': 1414,
|
'duration': 1414,
|
||||||
'creator': 'mediaset',
|
'creator': 'mediaset',
|
||||||
'release_date': '20161107',
|
'upload_date': '20161107',
|
||||||
'series': 'Hello Goodbye',
|
'series': 'Hello Goodbye',
|
||||||
'categories': ['reality'],
|
'categories': ['reality'],
|
||||||
},
|
},
|
||||||
|
@ -110,7 +110,7 @@ def _real_extract(self, url):
|
||||||
'thumbnail': mediainfo.get('thumbnail'),
|
'thumbnail': mediainfo.get('thumbnail'),
|
||||||
'duration': parse_duration(mediainfo.get('duration')),
|
'duration': parse_duration(mediainfo.get('duration')),
|
||||||
'creator': creator,
|
'creator': creator,
|
||||||
'release_date': unified_strdate(mediainfo.get('production-date')),
|
'upload_date': unified_strdate(mediainfo.get('production-date')),
|
||||||
'webpage_url': mediainfo.get('url'),
|
'webpage_url': mediainfo.get('url'),
|
||||||
'series': mediainfo.get('brand-value'),
|
'series': mediainfo.get('brand-value'),
|
||||||
'categories': categories,
|
'categories': categories,
|
||||||
|
|
Loading…
Reference in a new issue