Przeglądaj źródła

[reddit] Sort formats (closes #14430)

Sergey M․ 8 lat temu
rodzic
commit
665f42d8c1
1 zmienionych plików z 2 dodań i 0 usunięć
  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,