[reddit] best format hotfix based on resolution.

pull/2/head
Unknown 4 years ago
parent 957c523eea
commit 07bafb4a90

@ -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,

Loading…
Cancel
Save