Browse Source

[mediaset] Fix upload date

master
Sergey M․ 7 years ago
parent
commit
d105a7edc6
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 2 deletions
  1. 4
      youtube_dl/extractor/mediaset.py

4
youtube_dl/extractor/mediaset.py

@ -37,7 +37,7 @@ class MediasetIE(InfoExtractor):
'thumbnail': r're:^https?://.*\.jpg$',
'duration': 1414,
'creator': 'mediaset',
'release_date': '20161107',
'upload_date': '20161107',
'series': 'Hello Goodbye',
'categories': ['reality'],
},
@ -110,7 +110,7 @@ class MediasetIE(InfoExtractor):
'thumbnail': mediainfo.get('thumbnail'),
'duration': parse_duration(mediainfo.get('duration')),
'creator': creator,
'release_date': unified_strdate(mediainfo.get('production-date')),
'upload_date': unified_strdate(mediainfo.get('production-date')),
'webpage_url': mediainfo.get('url'),
'series': mediainfo.get('brand-value'),
'categories': categories,

Loading…
Cancel
Save