mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
Update amazonminitv.py [code fix]
This commit is contained in:
parent
7f36e69091
commit
ae08e3b3a0
@ -88,7 +88,7 @@ def _real_extract(self, url):
|
|||||||
title_info_ = prs['metaData']['contentDetails']
|
title_info_ = prs['metaData']['contentDetails']
|
||||||
|
|
||||||
formats, subtitles = [], {}
|
formats, subtitles = [], {}
|
||||||
for mpd in playback_info:
|
for mpd in playback_info:
|
||||||
mpd_fmts, mpd_subs = self._extract_mpd_formats_and_subtitles(
|
mpd_fmts, mpd_subs = self._extract_mpd_formats_and_subtitles(
|
||||||
mpd['manifestURL'], asin, mpd_id=mpd['codec'], fatal=False)
|
mpd['manifestURL'], asin, mpd_id=mpd['codec'], fatal=False)
|
||||||
formats.extend(mpd_fmts)
|
formats.extend(mpd_fmts)
|
||||||
@ -106,8 +106,8 @@ def _real_extract(self, url):
|
|||||||
'thumbnails': [{
|
'thumbnails': [{
|
||||||
'id': 'thumbnailImage',
|
'id': 'thumbnailImage',
|
||||||
'url': title_info.get('thumbnailImage'),
|
'url': title_info.get('thumbnailImage'),
|
||||||
},{
|
}, {
|
||||||
'id':'seasonThumbnailImage',
|
'id': 'seasonThumbnailImage',
|
||||||
'url': title_info.get('thumbnailImage'),
|
'url': title_info.get('thumbnailImage'),
|
||||||
}],
|
}],
|
||||||
'description': traverse_obj(title_info_, ('description', 'synopsis')),
|
'description': traverse_obj(title_info_, ('description', 'synopsis')),
|
||||||
|
Loading…
Reference in New Issue
Block a user