浏览代码

[itv] Use native hls

Sergey M․ 8 年之前
父节点
当前提交
f67177cae8
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      youtube_dl/extractor/itv.py

+ 3 - 1
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,