mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-25 02:06:44 +00:00
Update amazonminitv.py
This commit is contained in:
parent
53a8806ced
commit
b3dbc3deec
|
@ -104,12 +104,9 @@ def _real_extract(self, url):
|
||||||
'subtitles': subtitles,
|
'subtitles': subtitles,
|
||||||
'language': traverse_obj(title_info, ('audioTracks', 0)),
|
'language': traverse_obj(title_info, ('audioTracks', 0)),
|
||||||
'thumbnails': [{
|
'thumbnails': [{
|
||||||
'id': 'thumbnailImage',
|
'id': 'imageSrc',
|
||||||
'url': title_info.get('thumbnailImage'),
|
'url': title_info.get('imageSrc'),
|
||||||
}, {
|
}] if title_info.get('imageSrc') else [],
|
||||||
'id': 'seasonThumbnailImage',
|
|
||||||
'url': title_info.get('thumbnailImage'),
|
|
||||||
}],
|
|
||||||
'description': traverse_obj(title_info_, ('description', 'synopsis')),
|
'description': traverse_obj(title_info_, ('description', 'synopsis')),
|
||||||
'release_timestamp': int_or_none(try_get(title_info_, lambda x: x['publicReleaseDateUTC'] / 1000)),
|
'release_timestamp': int_or_none(try_get(title_info_, lambda x: x['publicReleaseDateUTC'] / 1000)),
|
||||||
'duration': traverse_obj(title_info, ('description', 'contentLengthInSeconds')),
|
'duration': traverse_obj(title_info, ('description', 'contentLengthInSeconds')),
|
||||||
|
|
Loading…
Reference in a new issue