aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/rai.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-11-17 10:40:03 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-11-17 11:40:17 +0530
commit9f14daf22b4080ae1531a772ee7574959af4e2fa (patch)
tree44e9d252cc11a8819f9092d31def30c1f9ed3137 /yt_dlp/extractor/rai.py
parent784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff)
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/rai.py')
-rw-r--r--yt_dlp/extractor/rai.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py
index cd19ec07b..cab12cc21 100644
--- a/yt_dlp/extractor/rai.py
+++ b/yt_dlp/extractor/rai.py
@@ -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),