Skip to content

A feature-rich command-line audio/video downloader

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

Sergey M․5935ef3c5d9c
diff --git a/youtube_dl/extractor/itv.py b/youtube_dl/extractor/itv.py
index 021c6b2787..7f24f14cef 100644
--- a/youtube_dl/extractor/itv.py
+++ b/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')