logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: f67177cae8a2e616d265bbbafe1ceabc7df8dbd0
parent 5935ef3c5d9c70c412a0c49f03feb3d0da8dedc6
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 16 Apr 2017 21:52:45 +0700

[itv] Use native hls

Diffstat:

Myoutube_dl/extractor/itv.py4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/itv.py b/youtube_dl/extractor/itv.py @@ -174,7 +174,9 @@ class ITVIE(InfoExtractor): 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,