logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 665f42d8c14626404372b349624632b8d39f3c0e
parent e95284754192ea4b5b4e32f1a2274e5767d980b5
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  7 Oct 2017 01:40:00 +0700

[reddit] Sort formats (closes #14430)

Diffstat:

Myoutube_dl/extractor/reddit.py2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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,