[abc:iview] extract audio description track

'hls' -> 'hls-latest'
pull/10276/head
ClosedPort22 1 year ago
parent 5c3a2daf6a
commit c96f9aba0d
No known key found for this signature in database

@ -319,9 +319,7 @@ class ABCIViewIE(InfoExtractor):
'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…
Cancel
Save