mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-18 07:05:41 +07:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@@ -78,8 +78,6 @@ def _real_extract(self, url):
|
||||
if http_f:
|
||||
formats.append(http_f)
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': self._og_search_title(webpage, default=None),
|
||||
@@ -136,7 +134,6 @@ def _extract_info(self, webpage, video_id=None, ppn=None):
|
||||
'format_id': ext,
|
||||
'ext': ext,
|
||||
}]
|
||||
self._sort_formats(formats)
|
||||
|
||||
title = self._html_search_regex(
|
||||
(r'<div class="title">(?P<title>.+?)</',
|
||||
|
||||
Reference in New Issue
Block a user