]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[itv] Lower preference for rtmp formats (closes #12759)
authorSergey M․ <dstftw@gmail.com>
Sun, 16 Apr 2017 14:52:07 +0000 (21:52 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 16 Apr 2017 14:52:07 +0000 (21:52 +0700)
youtube_dl/extractor/itv.py

index 021c6b2787d8748544a1e2eb2ccd6161ffcd8266..7f24f14ceff75e9a552aa2025f29850513337345 100644 (file)
@@ -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')