From 5122028a4bcac4ae577ef7fbd55ccad5cb34ef5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 18 Oct 2021 15:24:21 -0500 Subject: update from upstream --- hypervideo_dl/extractor/sendtonews.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hypervideo_dl/extractor/sendtonews.py') diff --git a/hypervideo_dl/extractor/sendtonews.py b/hypervideo_dl/extractor/sendtonews.py index 9d96529..bc38a0f 100644 --- a/hypervideo_dl/extractor/sendtonews.py +++ b/hypervideo_dl/extractor/sendtonews.py @@ -80,7 +80,9 @@ class SendtoNewsIE(InfoExtractor): 'format_id': '%s-%d' % (determine_protocol(f), tbr), 'tbr': tbr, }) - self._sort_formats(info_dict['formats'], ('tbr', 'height', 'width', 'format_id')) + # 'tbr' was explicitly set to be prefered over 'height' originally, + # So this is being kept unless someone can confirm this is unnecessary + self._sort_formats(info_dict['formats'], ('tbr', 'res')) thumbnails = [] if video.get('thumbnailUrl'): -- cgit v1.2.3