mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-15 05:55:15 +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:
@@ -185,7 +185,7 @@ class LeIE(InfoExtractor):
|
||||
f['height'] = int_or_none(format_id[:-1])
|
||||
|
||||
formats.append(f)
|
||||
self._sort_formats(formats, ('height', 'quality', 'format_id'))
|
||||
self._sort_formats(formats, ('res', 'quality'))
|
||||
|
||||
publish_time = parse_iso8601(self._html_search_regex(
|
||||
r'发布时间 ([^<>]+) ', page, 'publish time', default=None),
|
||||
|
||||
Reference in New Issue
Block a user