[1tv] Lower preference for http formats (closes #13246)
authorSergey M․ <dstftw@gmail.com>
Thu, 1 Jun 2017 15:19:52 +0000 (22:19 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 1 Jun 2017 15:19:52 +0000 (22:19 +0700)
youtube_dl/extractor/firsttv.py

index 081c7184233d3e79d0a2d684bd693631b7600eb2..4803a22c81d16c2540f33cfb97bdc5a1d7f7aa57 100644 (file)
@@ -102,6 +102,8 @@ class FirstTVIE(InfoExtractor):
                     'format_id': f.get('name'),
                     'tbr': tbr,
                     'source_preference': quality(f.get('name')),
+                    # quality metadata of http formats may be incorrect
+                    'preference': -1,
                 })
             # m3u8 URL format is reverse engineered from [1] (search for
             # master.m3u8). dashEdges (that is currently balancer-vod.1tv.ru)