discord-player-play-dl/docs/youtube/cookies.md
2021-04-21 14:15:40 +05:45

278 B

Using Cookies to avoid 429

const { Player } = require("discord-player");

const player = new Player(client, {
    ytdlDownloadOptions: {
        requestOptions: {
            headers: {
                cookie: "YOUR_YOUTUBE_COOKIE"
            }
        }
    }
});