[mediaset] Fix upload date
authorSergey M․ <dstftw@gmail.com>
Sat, 13 May 2017 23:39:47 +0000 (06:39 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 13 May 2017 23:39:47 +0000 (06:39 +0700)
youtube_dl/extractor/mediaset.py

index 9a0e41663d378cebfbd1722eae88442bbe40aa6b..9760eafd5685225bda09218d309acffacd7cd647 100644 (file)
@@ -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,