aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/appletrailers.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/appletrailers.py
parent784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff)
downloadhypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.lz
hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.xz
hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.zip
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/appletrailers.py')
-rw-r--r--yt_dlp/extractor/appletrailers.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/yt_dlp/extractor/appletrailers.py b/yt_dlp/extractor/appletrailers.py
index 6b63f070d..2e0b0a8c9 100644
--- a/yt_dlp/extractor/appletrailers.py
+++ b/yt_dlp/extractor/appletrailers.py
@@ -120,7 +120,6 @@ class AppleTrailersIE(InfoExtractor):
'height': int_or_none(size_data.get('height')),
'language': version[:2],
})
- self._sort_formats(formats)
entries.append({
'id': movie + '-' + re.sub(r'[^a-zA-Z0-9]', '', clip_title).lower(),
@@ -185,8 +184,6 @@ class AppleTrailersIE(InfoExtractor):
'height': int_or_none(format['height']),
})
- self._sort_formats(formats)
-
playlist.append({
'_type': 'video',
'id': video_id,