[reddit] Sort formats (closes #14430)

This commit is contained in:
Sergey M․ 2017-10-07 01:40:00 +07:00
parent e952847541
commit 665f42d8c1
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -35,6 +35,8 @@ class RedditIE(InfoExtractor):
'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id, 'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id,
mpd_id='dash', fatal=False)) mpd_id='dash', fatal=False))
self._sort_formats(formats)
return { return {
'id': video_id, 'id': video_id,
'title': video_id, 'title': video_id,