1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[1tv] Lower preference for http formats (closes #13246)

This commit is contained in:
Sergey M․ 2017-06-01 22:19:52 +07:00
parent 4489d41816
commit f7a747ce59
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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)