Skip to content

A feature-rich command-line audio/video downloader

[reddit] best format hotfix based on resolution.

Unknown07bafb4a907b
diff --git a/youtube_dlc/extractor/reddit.py b/youtube_dlc/extractor/reddit.py
index 663f622b37..cd91253888 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,