[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 @@ def _real_extract(self, url):
'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,