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/yahoo.py | |
parent | 784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff) |
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/yahoo.py')
-rw-r--r-- | yt_dlp/extractor/yahoo.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/yt_dlp/extractor/yahoo.py b/yt_dlp/extractor/yahoo.py index 01a859556..a69715b7c 100644 --- a/yt_dlp/extractor/yahoo.py +++ b/yt_dlp/extractor/yahoo.py @@ -241,8 +241,6 @@ class YahooIE(InfoExtractor): if not formats and msg == 'geo restricted': self.raise_geo_restricted(metadata_available=True) - self._sort_formats(formats) - thumbnails = [] for thumb in video.get('thumbnails', []): thumb_url = thumb.get('url') @@ -498,7 +496,6 @@ class YahooJapanNewsIE(InfoExtractor): 'tbr': int_or_none(vid.get('bitrate')), }) self._remove_duplicate_formats(formats) - self._sort_formats(formats) return formats |