浏览代码

[common] lower the preference of m3u8 master manifest format

Remita Amine 9 年之前
父节点
当前提交
c57244cdb1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/common.py

+ 1 - 1
youtube_dl/extractor/common.py

@@ -1140,7 +1140,7 @@ class InfoExtractor(object):
             'url': m3u8_url,
             'url': m3u8_url,
             'ext': ext,
             'ext': ext,
             'protocol': 'm3u8',
             'protocol': 'm3u8',
-            'preference': preference - 1 if preference else -1,
+            'preference': -100,
             'resolution': 'multiple',
             'resolution': 'multiple',
             'format_note': 'Quality selection URL',
             'format_note': 'Quality selection URL',
         }
         }