Ratelimit to prevent of services blocking bot ip
lucawen opened this issue · 1 comments
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 ?
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).