mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-15 14:05:17 +00:00
[formatsort] Remove unnecessary field_preference from extractors
These were written with the old format sorting in mind and is no longer needed
This commit is contained in:
@@ -405,7 +405,7 @@ class UdemyIE(InfoExtractor):
|
||||
if f.get('url'):
|
||||
formats.append(f)
|
||||
|
||||
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
||||
Reference in New Issue
Block a user