Explorar o código

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

Sergey M․ %!s(int64=8) %!d(string=hai) anos
pai
achega
5935ef3c5d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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')