Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle YouTube rate limitation #240

Open
0xFFFFFFFFFFFFFFFFFF opened this issue Jun 7, 2024 · 1 comment
Open

Handle YouTube rate limitation #240

0xFFFFFFFFFFFFFFFFFF opened this issue Jun 7, 2024 · 1 comment

Comments

@0xFFFFFFFFFFFFFFFFFF
Copy link

I am wondering how to handle YouTubes rate limitation. Given I have an API key for YouTube, how can I authorize the yt-dlp requests? I couldn't find any documentation or example regarding that issue.

@vicky5124
Copy link
Contributor

While yt-dlp does have support to authorise requests with arguments such as --cookies, -u / --username, -p / --password, and others, songbird does not provide a way to use these arguments, as the ones used are hard coded.

For now, you can use an IPv6 block tunnel such as HE TunnelBroker with some clever routing and a proxy to send every YouTube request through that IPv6 block. The website explains how to set up the tunnel in many different systems; just make sure to use the /48 block rather than the /64 one.

@serenity-rs serenity-rs deleted a comment Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants