aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-06-01 22:19:52 +0700
committerSergey M․ <dstftw@gmail.com>2017-06-01 22:19:52 +0700
commitf7a747ce59036dca4451037bff4b75cf358e4ad5 (patch)
treef74a056c00fd0d8669e259ae2129f5d48ab2ddfd /youtube_dl
parent4489d418163def3bc94fc1b9be999ae946621530 (diff)
[1tv] Lower preference for http formats (closes #13246)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/firsttv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/firsttv.py b/youtube_dl/extractor/firsttv.py
index 081c71842..4803a22c8 100644
--- a/youtube_dl/extractor/firsttv.py
+++ b/youtube_dl/extractor/firsttv.py
@@ -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)