Reset playerclients for ytdl during getinfo to defaults

Update ytdl-core and ytsr
This commit is contained in:
Juan Carlos Ramirez 2025-01-20 03:37:25 -06:00
commit afbc570c81
2 changed files with 3 additions and 3 deletions
src/services

View file

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