From 07bafb4a907bf3b0c9548a96cb4e6c87c2271258 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 23 Oct 2020 16:53:52 +0200 Subject: [PATCH] [reddit] best format hotfix based on resolution. --- youtube_dlc/extractor/reddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dlc/extractor/reddit.py b/youtube_dlc/extractor/reddit.py index 663f622b3..cd9125388 100644 --- a/youtube_dlc/extractor/reddit.py +++ b/youtube_dlc/extractor/reddit.py @@ -38,7 +38,7 @@ class RedditIE(InfoExtractor): 'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id, mpd_id='dash', fatal=False)) - self._sort_formats(formats) + self._sort_formats(formats, ('height', 'width')) return { 'id': video_id,