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

Ratelimit to prevent of services blocking bot ip #91

Open
lucawen opened this issue Sep 2, 2021 · 1 comment
Open

Ratelimit to prevent of services blocking bot ip #91

lucawen opened this issue Sep 2, 2021 · 1 comment
Labels
feature-request Request for addition of a new feature or improvement.

Comments

@lucawen
Copy link

lucawen commented Sep 2, 2021

So in youtube, for example, after too much requests, we have receiving some 429 response code. In Lavalink, thats its resolved by ratelmit config, so you can rotate the ipv6 block ip or something else that you want to do....

Have plans to implement something like this ? Or have any solution for that type of problem ?

@arqunis arqunis added the feature-request Request for addition of a new feature or improvement. label Sep 2, 2021
@FelixMcFelix
Copy link
Member

I don't personally have any plans to implement this (since I don't use youtube-dl all that much), but if you want to add a new error variant by parsing stderr then that'd be a welcome addition! It should allow you to pass the Retry-After on to the user, who can then act or wait as needed. Keep in mind that songbird is closer to lavaplayer than lavalink (i.e., lower-level control).

Not sure how this would feed into e.g., the lazy variants (which'll likely just be dropped by the mixer without some interesting handling).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for addition of a new feature or improvement.
Projects
None yet
Development

No branches or pull requests

3 participants