From: Sergey M․ Date: Fri, 6 Oct 2017 18:40:00 +0000 (+0700) Subject: [reddit] Sort formats (closes #14430) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=665f42d8c14626404372b349624632b8d39f3c0e;p=youtube-dl [reddit] Sort formats (closes #14430) --- diff --git a/youtube_dl/extractor/reddit.py b/youtube_dl/extractor/reddit.py index 01c85ee01..4d44b9d74 100644 --- a/youtube_dl/extractor/reddit.py +++ b/youtube_dl/extractor/reddit.py @@ -35,6 +35,8 @@ class RedditIE(InfoExtractor): 'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id, mpd_id='dash', fatal=False)) + self._sort_formats(formats) + return { 'id': video_id, 'title': video_id,