mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
[abc:iview] extract audio description track
'hls' -> 'hls-latest'
This commit is contained in:
parent
5c3a2daf6a
commit
c96f9aba0d
@ -319,9 +319,7 @@ def tokenize_url(url, token):
|
|||||||
'hdnea': token,
|
'hdnea': token,
|
||||||
})
|
})
|
||||||
|
|
||||||
for sd in ('1080', '720', 'sd', 'sd-low'):
|
for sd_url in traverse_obj(stream, ('streams', 'hls-latest', ('1080', '720', 'sd', 'sd-low'), {str})):
|
||||||
sd_url = try_get(
|
|
||||||
stream, lambda x: x['streams']['hls'][sd], str)
|
|
||||||
if not sd_url:
|
if not sd_url:
|
||||||
continue
|
continue
|
||||||
formats = self._extract_m3u8_formats(
|
formats = self._extract_m3u8_formats(
|
||||||
|
Loading…
Reference in New Issue
Block a user