1
0
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:
pukkandan
2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
579 changed files with 69 additions and 918 deletions

View File

@@ -123,7 +123,6 @@ def _real_extract(self, url):
if not formats and has_drm:
self.report_drm(video_id)
self._sort_formats(formats)
title = self._og_search_title(
webpage, default=None) or self._search_regex(
@@ -308,7 +307,6 @@ def _real_extract(self, url):
formats = [{
'url': video_url,
}]
self._sort_formats(formats)
title = mediafile.get('meta', {}).get('title') or self._og_search_title(webpage)
thumbnail = config.get('poster')