mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-08-13 16:07:07 +02:00
Reset playerclients for ytdl during getinfo to defaults
Update ytdl-core and ytsr
This commit is contained in:
parent
6ec6bb8aae
commit
afbc570c81
2 changed files with 3 additions and 3 deletions
src/services
|
@ -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[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue