aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown <blackjack4494@web.de>2020-10-23 16:53:52 +0200
committerUnknown <blackjack4494@web.de>2020-10-23 16:53:52 +0200
commit07bafb4a907bf3b0c9548a96cb4e6c87c2271258 (patch)
tree9069fe10fe9750b5ab04586aca8bdfab5ff3d68a
parent957c523eea6232fd85e5f5d0f2c16cf010db9f8a (diff)
downloadhypervideo-pre-07bafb4a907bf3b0c9548a96cb4e6c87c2271258.tar.lz
hypervideo-pre-07bafb4a907bf3b0c9548a96cb4e6c87c2271258.tar.xz
hypervideo-pre-07bafb4a907bf3b0c9548a96cb4e6c87c2271258.zip
[reddit] best format hotfix based on resolution.
-rw-r--r--youtube_dlc/extractor/reddit.py2
1 files changed, 1 insertions, 1 deletions
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,