1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-21 07:13:15 +00:00

[reddit] best format hotfix based on resolution.

This commit is contained in:
Unknown 2020-10-23 16:53:52 +02:00
parent 957c523eea
commit 07bafb4a90

View file

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