Update ytdl-core to 4.15.9 and use new playerClients default

This commit is contained in:
Juan Carlos Ramirez 2025-01-25 01:02:47 -06:00
parent 6958af2b2e
commit 60c1c21d61
5 changed files with 10419 additions and 343 deletions

View file

@ -515,7 +515,7 @@ export default class {
if (!ffmpegInput) {
// Not yet cached, must download
const info = await ytdl.getInfo(song.url, {playerClients: ['WEB_CREATOR', 'IOS']});
const info = await ytdl.getInfo(song.url);
const formats = info.formats as YTDLVideoFormat[];