From: Sergey M․ Date: Sat, 13 May 2017 23:39:47 +0000 (+0700) Subject: [mediaset] Fix upload date X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=d105a7edc6e06c4eaf92838217913dde18aaae05;p=youtube-dl [mediaset] Fix upload date --- diff --git a/youtube_dl/extractor/mediaset.py b/youtube_dl/extractor/mediaset.py index 9a0e41663..9760eafd5 100644 --- a/youtube_dl/extractor/mediaset.py +++ b/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,