]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[itv] Use native hls
authorSergey M․ <dstftw@gmail.com>
Sun, 16 Apr 2017 14:52:45 +0000 (21:52 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 16 Apr 2017 14:52:45 +0000 (21:52 +0700)
youtube_dl/extractor/itv.py

index 7f24f14ceff75e9a552aa2025f29850513337345..5ff7e1aaa4b8c720c7861355a7d373c8718fb49d 100644 (file)
@@ -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,