mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-02-28 19:29:46 +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:
@@ -108,7 +108,7 @@ class SpankwireIE(InfoExtractor):
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
m3u8_url, video_id, 'mp4', entry_protocol='m3u8_native',
|
||||
m3u8_id='hls', fatal=False))
|
||||
self._sort_formats(formats, ('height', 'tbr', 'width', 'format_id'))
|
||||
self._sort_formats(formats)
|
||||
|
||||
view_count = str_to_int(video.get('viewed'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user