mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-15 22:15:14 +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:
@@ -72,8 +72,7 @@ class AparatIE(InfoExtractor):
|
||||
r'(\d+)[pP]', label or '', 'height',
|
||||
default=None)),
|
||||
})
|
||||
self._sort_formats(
|
||||
formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||
self._sort_formats(formats)
|
||||
|
||||
info = self._search_json_ld(webpage, video_id, default={})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user