1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 14:45:14 +00:00

[cleanup] Fix infodict returned fields (#8906)

Authored by: seproDev
This commit is contained in:
sepro
2024-03-08 23:36:41 +01:00
committed by GitHub
parent dfd8c0b696
commit f4f9f6d00e
74 changed files with 230 additions and 274 deletions

View 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 @@ class TenPlayIE(InfoExtractor):
'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'),