mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-13 04:47:26 +00:00
[wistia] Use centralized sorting
This commit is contained in:
parent
7217e148fb
commit
539179f45b
@ -45,7 +45,8 @@ class WistiaIE(InfoExtractor):
|
|||||||
'filesize': a['size'],
|
'filesize': a['size'],
|
||||||
'ext': a['ext'],
|
'ext': a['ext'],
|
||||||
})
|
})
|
||||||
formats.sort(key=lambda a: a['filesize'])
|
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user