mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[beatenpro] Use generic format sort
This commit is contained in:
parent
b7a0304d92
commit
1b53778175
@ -77,7 +77,7 @@ def _real_extract(self, url):
|
||||
fmt['abr'] = 96
|
||||
fmt['asr'] = 44100
|
||||
formats += [fmt]
|
||||
formats.sort(key=lambda f: f['preference'])
|
||||
self._sort_formats(formats)
|
||||
|
||||
# Get album art as thumbnails
|
||||
imgs = []
|
||||
|
Loading…
Reference in New Issue
Block a user