]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/tenplay.py
[cleanup] Fix infodict returned fields (#8906)
[yt-dlp.git] / yt_dlp / extractor / tenplay.py
index 7ce7cbf849ea9d626c853f4f935d63814b46c3be..a98275d8628c8b3abbc3ca980c1ed1f18b94b944 100644 (file)
@@ -20,7 +20,8 @@ class TenPlayIE(InfoExtractor):
             'alt_title': 'Nathan Borg Is The First Aussie Actor With A Cochlear Implant To Join Neighbours',
             'description': 'md5:a02d0199c901c2dd4c796f1e7dd0de43',
             'duration': 186,
-            'season': 39,
+            'season': 'Season 39',
+            'season_number': 39,
             'series': 'Neighbours',
             'thumbnail': r're:https://.*\.jpg',
             'uploader': 'Channel 10',
@@ -108,7 +109,7 @@ def _real_extract(self, url):
             'description': data.get('description'),
             'age_limit': self._AUS_AGES.get(data.get('classification')),
             'series': data.get('tvShow'),
-            'season': int_or_none(data.get('season')),
+            'season_number': int_or_none(data.get('season')),
             'episode_number': int_or_none(data.get('episode')),
             'timestamp': data.get('published'),
             'thumbnail': data.get('imageUrl'),