Browse Source

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

Sergey M․ 8 năm trước cách đây
mục cha
commit
5935ef3c5d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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')