瀏覽代碼

[vessel] Use native hls by default

Sergey M․ 9 年之前
父節點
當前提交
a479b8f687
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      youtube_dl/extractor/vessel.py

+ 2 - 1
youtube_dl/extractor/vessel.py

@@ -113,7 +113,8 @@ class VesselIE(InfoExtractor):
                 continue
             if f.get('name') == 'hls-index':
                 formats.extend(self._extract_m3u8_formats(
-                    location, video_id, ext='mp4', m3u8_id='m3u8'))
+                    location, video_id, ext='mp4',
+                    entry_protocol='m3u8_native', m3u8_id='m3u8'))
             else:
                 formats.append({
                     'format_id': f.get('name'),