mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
Update amazonminitv.py
This commit is contained in:
parent
696b1c7dc4
commit
53a8806ced
|
@ -83,9 +83,9 @@ class AmazonMiniTVIE(AmazonMiniTVBaseIE):
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
asin = f'amzn1.dv.gti.{self._match_id(url)}'
|
asin = f'amzn1.dv.gti.{self._match_id(url)}'
|
||||||
prs = self._call_api(asin, note='Downloading playback info')
|
prs = self._call_api(asin, note='Downloading playback info')
|
||||||
playback_info = prs['widgets'][0]['data']['playbackAssets']['manifestData']
|
playback_info = traverse_obj(prs, ('widgets', 0, 'data', 'playbackAssets', 'manifestData'))
|
||||||
title_info = prs['widgets'][0]['data']['contentDetails']
|
title_info = traverse_obj(prs, ('widgets', 0, 'data', 'contentDetails'))
|
||||||
title_info_ = prs['metaData']['contentDetails']
|
title_info_ = traverse_obj(prs, ('metaData', 'contentDetails'))
|
||||||
|
|
||||||
formats, subtitles = [], {}
|
formats, subtitles = [], {}
|
||||||
for mpd in playback_info:
|
for mpd in playback_info:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user