fix yt-dl failing with resolutions >=1080p

This commit is contained in:
Nexus 2024-04-14 18:37:32 +01:00
parent c219158c62
commit ec89cc95b9
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -27,9 +27,9 @@ class YTDLCog(commands.Cog):
"360p": "18",
"480p": "135+139",
"720p": "22",
"1080p": "137+140",
"1440p": "248+251", # webm (vp9+opus) v
"2160p": "313+251",
"1080p": "bv[width==1080]+ba[ext=webm]/bv[width==1080]+ba[ext=m4a]/bv[width==1080]+ba",
"1440p": "bv[width==1440]+ba[ext=webm]/bv[width==1440]+ba[ext=m4a]/bv[width==1440]+ba",
"2160p": "bv[width==2160]+ba[ext=webm]/bv[width==2160]+ba[ext=m4a]/bv[width==2160]+ba",
"mp3": "ba[filesize<25M]",
"m4a": "ba[ext=m4a][filesize<25M]",
"opus": "ba[ext=webm][filesize<25M]",