From: Sergey M․ Date: Thu, 1 Jun 2017 15:19:52 +0000 (+0700) Subject: [1tv] Lower preference for http formats (closes #13246) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f7a747ce59036dca4451037bff4b75cf358e4ad5;p=youtube-dl [1tv] Lower preference for http formats (closes #13246) --- 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)