浏览代码

[reddit] Sort formats (closes #14430)

Sergey M․ 8 年之前
父节点
当前提交
665f42d8c1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      youtube_dl/extractor/reddit.py

+ 2 - 0
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,