Explorar el Código

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

Sergey M․ hace 8 años
padre
commit
5935ef3c5d
Se han modificado 1 ficheros con 2 adiciones y 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')