mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[theplatform] remove _sort_formats from _extract_theplatform_smil
This commit is contained in:
parent
ee94e7e66d
commit
a71fca8577
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,6 @@ def _extract_theplatform_smil(self, smil_url, video_id, note='Downloading SMIL d
|
|||
else:
|
||||
formats.append(_format)
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
subtitles = self._parse_smil_subtitles(meta, default_ns)
|
||||
|
||||
return formats, subtitles
|
||||
|
@ -241,6 +239,7 @@ def _real_extract(self, url):
|
|||
smil_url = self._sign_url(smil_url, sig['key'], sig['secret'])
|
||||
|
||||
formats, subtitles = self._extract_theplatform_smil(smil_url, video_id)
|
||||
self._sort_formats(formats)
|
||||
|
||||
ret = self.get_metadata(path, video_id)
|
||||
combined_subtitles = self._merge_subtitles(ret.get('subtitles', {}), subtitles)
|
||||
|
|
Loading…
Reference in a new issue