mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 08:35:32 +00:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@ -313,7 +313,6 @@ class RaiPlayIE(RaiBaseIE):
|
||||
video = media['video']
|
||||
|
||||
relinker_info = self._extract_relinker_info(video['content_url'], video_id)
|
||||
self._sort_formats(relinker_info['formats'])
|
||||
|
||||
thumbnails = []
|
||||
for _, value in media.get('images', {}).items():
|
||||
@ -621,8 +620,6 @@ class RaiIE(RaiBaseIE):
|
||||
else:
|
||||
raise ExtractorError('not a media file')
|
||||
|
||||
self._sort_formats(relinker_info['formats'])
|
||||
|
||||
thumbnails = []
|
||||
for image_type in ('image', 'image_medium', 'image_300'):
|
||||
thumbnail_url = media.get(image_type)
|
||||
@ -703,7 +700,6 @@ class RaiIE(RaiBaseIE):
|
||||
|
||||
relinker_info = self._extract_relinker_info(
|
||||
urljoin(url, relinker_url), video_id)
|
||||
self._sort_formats(relinker_info['formats'])
|
||||
|
||||
title = self._search_regex(
|
||||
r'var\s+videoTitolo\s*=\s*([\'"])(?P<title>[^\'"]+)\1',
|
||||
@ -772,8 +768,6 @@ class RaiNewsIE(RaiIE): # XXX: Do not subclass from concrete IE
|
||||
|
||||
relinker_info = self._extract_relinker_info(urljoin(url, relinker_url), video_id)
|
||||
|
||||
self._sort_formats(relinker_info['formats'])
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': track_info.get('title') or self._og_search_title(webpage),
|
||||
|
Reference in New Issue
Block a user