Update amazonminitv.py

This commit is contained in:
DEVENU 2024-07-23 21:52:09 +05:30 committed by GitHub
parent 53a8806ced
commit b3dbc3deec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,12 +104,9 @@ def _real_extract(self, url):
'subtitles': subtitles,
'language': traverse_obj(title_info, ('audioTracks', 0)),
'thumbnails': [{
'id': 'thumbnailImage',
'url': title_info.get('thumbnailImage'),
}, {
'id': 'seasonThumbnailImage',
'url': title_info.get('thumbnailImage'),
}],
'id': 'imageSrc',
'url': title_info.get('imageSrc'),
}] if title_info.get('imageSrc') else [],
'description': traverse_obj(title_info_, ('description', 'synopsis')),
'release_timestamp': int_or_none(try_get(title_info_, lambda x: x['publicReleaseDateUTC'] / 1000)),
'duration': traverse_obj(title_info, ('description', 'contentLengthInSeconds')),