[abc.net.au:iview] Support hq streams when available
This commit is contained in:
parent
a7ce8f16c4
commit
3ca5c363ff
@ -124,7 +124,12 @@ class ABCIViewIE(InfoExtractor):
|
||||
title = video_params.get('title') or video_params['seriesTitle']
|
||||
stream = next(s for s in video_params['playlist'] if s.get('type') == 'program')
|
||||
|
||||
formats = self._extract_akamai_formats(stream['hds-unmetered'], video_id)
|
||||
if 'sd' in stream["stream-labels"]:
|
||||
hds = stream['streams']['hds']['sd'].replace('metered', 'um')
|
||||
else:
|
||||
hds = stream['hds-unmetered']
|
||||
|
||||
formats = self._extract_akamai_formats(hds, video_id)
|
||||
self._sort_formats(formats)
|
||||
|
||||
subtitles = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user