Использование ютуб токена

This commit is contained in:
JonnyBro 2021-12-15 21:54:54 +05:00
parent 1a47776ad7
commit 6c30b794cb

View file

@ -55,6 +55,13 @@ class Atlanta extends Client {
}; };
this.player = new Player(this, { this.player = new Player(this, {
ytdlDownloadOptions: {
requestOptions: {
headers: {
cookie: this.config.youtubeToken
}
}
},
leaveOnEmpty: false, leaveOnEmpty: false,
enableLive: true enableLive: true
}); });