Closed sslexus closed 3 months ago
Thank you for presenting the issue.
You can specify clients as the second argument of the getInfo function, so try specifying ['web_creator', 'ios', 'android', 'tv_embedded']
there.
ytdl.getInfo(VIDEO_URL, {
poToken: 'PO_TOKEN',
visitorData: 'VISITOR_DATA',
clients: ['web_creator', 'ios', 'android', 'tv_embedded']
});
If this does not work, it is recommended to generate the poToken again.
(tv_embedded clients can be used to circumvent age restrictions, etc.)
Is the problem resolved?
I finally resolved it by using a proxy agent @ybd-project . Thanks regardless!
Describe the bug
Thanks for the fork!
I encountered a strange error using poToken & visitorData approach like so :
Here's the thing: I ran this in a REST endpoint, and it works locally. But once deployed (Vercel), not anymore. What would you suggest me here?
Error Details (Log)
Environment