mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[udemy] Use custom sorting
This commit is contained in:
parent
efcba804f6
commit
48dce58ca9
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ def extract_output_format(src):
|
|||
'height': height,
|
||||
})
|
||||
|
||||
self._sort_formats(formats)
|
||||
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
|
Loading…
Reference in a new issue