mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
[wistia] Use centralized sorting
This commit is contained in:
parent
7217e148fb
commit
539179f45b
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ def _real_extract(self, url):
|
|||
'filesize': a['size'],
|
||||
'ext': a['ext'],
|
||||
})
|
||||
formats.sort(key=lambda a: a['filesize'])
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
|
Loading…
Reference in a new issue