1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-24 02:46:54 +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'), 'format_id': f.get('name'),
'tbr': tbr, 'tbr': tbr,
'source_preference': quality(f.get('name')), '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 # m3u8 URL format is reverse engineered from [1] (search for
# master.m3u8). dashEdges (that is currently balancer-vod.1tv.ru) # master.m3u8). dashEdges (that is currently balancer-vod.1tv.ru)