Closed RoyLizhiyu closed 1 month ago
Anybody fixed this? I'm having this exact error when launching to production, but not in Localhost:3000
Bump
Issue still persists.
It doesn't matter in which format the cookies are entered. Used the Option
const cookies = [
{ name: "cookie1", value: "COOKIE1_HERE" },
{ name: "cookie2", value: "COOKIE2_HERE" },
];
which is documented in Readme but logs tell me its old format
and also the option
const COOKIE = 'a=1; b=2';
stream = ytdl(video, {
highWaterMark: 1 << 25,
quality: 'highestaudio',
requestOptions: {
headers: {
cookie: COOKIE
},
}
});
Anybody fixed this? I'm having this exact error when launching to production, but not in Localhost:3000
same issue
Try this. (I fork @distube/ytdl-core to solve various problems. Also, usage is quite different from this one.) https://github.com/ybd-project-ver1/ytdl-core
Try this. (I fork @distube/ytdl-core to solve various problems. Also, usage is quite different from this one.) https://github.com/ybd-project-ver1/ytdl-core
I will try later! Thank you
Describe the bug
I'm building a Nextjs App. ytdl works on my local machine. But when it's deployed to Vercel or Netlify I got Sign in to confirm you’re not a bot Error. I've tried using Proxy and Cookies from my youtube account, both didn't work. Waiting for a solution.
Debug File
Environment