0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-29 03:23:02 +00:00

[itv] Use native hls

This commit is contained in:
Sergey M․ 2017-04-16 21:52:45 +07:00
parent 5935ef3c5d
commit f67177cae8
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -174,7 +174,9 @@ def _add_sub_element(element, name):
href = ios_base_url + href
ext = determine_ext(href)
if ext == 'm3u8':
formats.extend(self._extract_m3u8_formats(href, video_id, 'mp4', m3u8_id='hls', fatal=False))
formats.extend(self._extract_m3u8_formats(
href, video_id, 'mp4', entry_protocol='m3u8_native',
m3u8_id='hls', fatal=False))
else:
formats.append({
'url': href,