diff options
author | Jesús <heckyel@hyperbola.info> | 2021-10-18 15:24:21 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-10-18 15:24:21 -0500 |
commit | 5122028a4bcac4ae577ef7fbd55ccad5cb34ef5e (patch) | |
tree | 65209bc739db35e31f1c9b5b868eb5df4fe12ae3 /hypervideo_dl/extractor/sendtonews.py | |
parent | 27fe903c511691c078942bef5ee9a05a43b15c8f (diff) | |
download | hypervideo-5122028a4bcac4ae577ef7fbd55ccad5cb34ef5e.tar.lz hypervideo-5122028a4bcac4ae577ef7fbd55ccad5cb34ef5e.tar.xz hypervideo-5122028a4bcac4ae577ef7fbd55ccad5cb34ef5e.zip |
update from upstream
Diffstat (limited to 'hypervideo_dl/extractor/sendtonews.py')
-rw-r--r-- | hypervideo_dl/extractor/sendtonews.py | 4 |
1 files changed, 3 insertions, 1 deletions
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'): |