mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
[screenwavemedia] Improve formats sorting
This commit is contained in:
parent
6c10dbeae9
commit
2b2dfae83e
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def _real_extract(self, url):
|
||||||
'ext': source.get('type'),
|
'ext': source.get('type'),
|
||||||
'height': height,
|
'height': height,
|
||||||
})
|
})
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
|
Loading…
Reference in a new issue