mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[reddit] best format hotfix based on resolution.
This commit is contained in:
parent
957c523eea
commit
07bafb4a90
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user