mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01: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:
parent
9ba5705ac0
commit
54f37eeabd
20 changed files with 29 additions and 23 deletions
|
|
@ -67,7 +67,7 @@ class AluraIE(InfoExtractor):
|
|||
f['height'] = int('720' if m.group('res') == 'hd' else '480')
|
||||
formats.extend(video_format)
|
||||
|
||||
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue