]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/myspace.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / myspace.py
index 63d36c30a7c018866edce37877e229686343b1b0..3451098379e351b051b1bb191f7beb6de124c3ee 100644 (file)
@@ -122,7 +122,6 @@ def search_data(name):
                 else:
                     raise ExtractorError(
                         'Found song but don\'t know how to download it')
-            self._sort_formats(formats)
             return {
                 'id': video_id,
                 'title': self._og_search_title(webpage),
@@ -140,7 +139,6 @@ def search_data(name):
                 video.get('streamUrl'), video.get('hlsStreamUrl'),
                 video.get('mp4StreamUrl'), int_or_none(video.get('width')),
                 int_or_none(video.get('height')))
-            self._sort_formats(formats)
             return {
                 'id': video_id,
                 'title': video['title'],