diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-17 10:40:03 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-17 11:40:17 +0530 |
commit | 9f14daf22b4080ae1531a772ee7574959af4e2fa (patch) | |
tree | 44e9d252cc11a8819f9092d31def30c1f9ed3137 /yt_dlp/extractor/funimation.py | |
parent | 784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff) | |
download | hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.lz hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.xz hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.zip |
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/funimation.py')
-rw-r--r-- | yt_dlp/extractor/funimation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/funimation.py b/yt_dlp/extractor/funimation.py index c70cf50c7..18363c1b9 100644 --- a/yt_dlp/extractor/funimation.py +++ b/yt_dlp/extractor/funimation.py @@ -247,7 +247,6 @@ class FunimationIE(FunimationBaseIE): self.raise_no_formats( 'There are no video formats matching the requested languages/versions', expected=True, video_id=display_id) self._remove_duplicate_formats(formats) - self._sort_formats(formats, ('lang', 'source')) return { 'id': episode_id, @@ -266,6 +265,7 @@ class FunimationIE(FunimationBaseIE): 'formats': formats, 'thumbnails': thumbnails, 'subtitles': subtitles, + '_format_sort_fields': ('lang', 'source'), } def _get_subtitles(self, subtitles, experience_id, episode, display_id, format_name): |