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/mlb.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/mlb.py')
-rw-r--r-- | yt_dlp/extractor/mlb.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/yt_dlp/extractor/mlb.py b/yt_dlp/extractor/mlb.py index 2f0f2deab..72057dc97 100644 --- a/yt_dlp/extractor/mlb.py +++ b/yt_dlp/extractor/mlb.py @@ -54,7 +54,6 @@ class MLBBaseIE(InfoExtractor): 'width': int(mobj.group(1)), }) formats.append(f) - self._sort_formats(formats) thumbnails = [] for cut in (try_get(feed, lambda x: x['image']['cuts'], list) or []): @@ -339,7 +338,6 @@ class MLBTVIE(InfoExtractor): formats.extend(f) self._merge_subtitles(s, target=subtitles) - self._sort_formats(formats) return { 'id': video_id, 'title': traverse_obj(airings, (..., 'titles', 0, 'episodeName'), get_all=False), |