mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-16 22:25:40 +07:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@@ -150,8 +150,6 @@ def add_item(container, item_url, height, id_key='format_id', item_id=None):
|
||||
'An unknown error occurred ({0}).'.format(error),
|
||||
video_id=video_id)
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
# Necessary because the id of the author is not known in advance.
|
||||
# Won't raise an issue if no profile can be found as this is optional.
|
||||
author = traverse_obj(api_response, ('pageProps', 'profile')) or {}
|
||||
|
||||
Reference in New Issue
Block a user