aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mediaset.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-05-14 06:39:47 +0700
committerSergey M․ <dstftw@gmail.com>2017-05-14 06:39:47 +0700
commitd105a7edc6e06c4eaf92838217913dde18aaae05 (patch)
treec096d0360e22bcf7ed278a0034d0c8a82d9c1bd1 /youtube_dl/extractor/mediaset.py
parent5d29af3d15eaec8958a4fad00103e18112f0c172 (diff)
[mediaset] Fix upload date
Diffstat (limited to 'youtube_dl/extractor/mediaset.py')
-rw-r--r--youtube_dl/extractor/mediaset.py4
1 files changed, 2 insertions, 2 deletions
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,