1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[wistia] Use centralized sorting

This commit is contained in:
Philipp Hagemeister 2013-12-25 15:20:14 +01:00
parent 7217e148fb
commit 539179f45b

View file

@ -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,