mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[screenwavemedia] Improve formats sorting
This commit is contained in:
parent
6c10dbeae9
commit
2b2dfae83e
@ -88,7 +88,7 @@ class ScreenwaveMediaIE(InfoExtractor):
|
||||
'ext': source.get('type'),
|
||||
'height': height,
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
Loading…
Reference in New Issue
Block a user