kopia lustrzana https://github.com/yt-dlp/yt-dlp
[udemy] Use custom sorting
rodzic
efcba804f6
commit
48dce58ca9
|
@ -279,7 +279,7 @@ class UdemyIE(InfoExtractor):
|
|||
'height': height,
|
||||
})
|
||||
|
||||
self._sort_formats(formats)
|
||||
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
|
Ładowanie…
Reference in New Issue