aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-04-16 21:52:45 +0700
committerSergey M․ <dstftw@gmail.com>2017-04-16 21:52:45 +0700
commitf67177cae8a2e616d265bbbafe1ceabc7df8dbd0 (patch)
treeddbb863e913ad01e8b328b8e8afc7dac123b2c42
parent5935ef3c5d9c70c412a0c49f03feb3d0da8dedc6 (diff)
downloadyoutube-dl-f67177cae8a2e616d265bbbafe1ceabc7df8dbd0.tar.xz
[itv] Use native hls
-rw-r--r--youtube_dl/extractor/itv.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/itv.py b/youtube_dl/extractor/itv.py
index 7f24f14ce..5ff7e1aaa 100644
--- 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,