浏览代码

[itv] Lower preference for rtmp formats (closes #12759)

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

+ 2 - 0
youtube_dl/extractor/itv.py

@@ -122,6 +122,8 @@ class ITVIE(InfoExtractor):
                 'play_path': play_path,
                 'tbr': tbr,
                 'ext': 'flv',
+                # rtmp formats are now stop downloading at ~72MiB
+                'preference': -10,
             })
 
         ios_playlist_url = params.get('data-video-playlist')