[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan 2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
579 changed files with 69 additions and 918 deletions

View file

@ -157,7 +157,6 @@ class LyndaIE(LyndaBaseIE):
'format_id': '%s-%s' % (cdn, format_id) if cdn else format_id,
'height': int_or_none(format_id),
})
self._sort_formats(formats)
conviva = self._download_json(
'https://www.lynda.com/ajax/player/conviva', video_id,
@ -207,7 +206,6 @@ class LyndaIE(LyndaBaseIE):
} for format_id, video_url in prioritized_stream.items()])
self._check_formats(formats, video_id)
self._sort_formats(formats)
subtitles = self.extract_subtitles(video_id)