TS3AudioBot icon indicating copy to clipboard operation
TS3AudioBot copied to clipboard

Youtube-DL Too many requests

Open casperkral12 opened this issue 5 years ago • 5 comments
trafficstars

To avoid this error Would you add music playback limit Bot: I can't play a new song without 5 minutes Try again in 5 minutes I think we can go way to get too many request errors

casperkral12 avatar Dec 11 '19 17:12 casperkral12

I think someone should actually make some metric measurements and check at which rate youtube starts to block ips. That would probably help a lot. I can do it when I find some time again. But if someone volunteered for it that would make obviously everything easier.

There was also a comment in the gitter suggesting to allow rotating request and proxy ip's which I want to add in the next version since it could help some users in this regard.

Splamy avatar Dec 13 '19 12:12 Splamy

I think it could be hard to analyze youtube algorithm. Probably it is more complex than "after xx requests block for y*xx minutes"

Rotating proxy ("when got 429 error take next proxy") could be best option and independent of youtube algorithms.

zmechu avatar Dec 13 '19 19:12 zmechu

I have been in this topic for a long time, I can say that YouTube will block from my observations on the basis of the number of requests sent in 24 hours and minutes - why so? When we exceed the X rule within 24 hours we are blocked. When there will be more than theoretically we can, but in a minute we will be blocked.

Another issue is PROXY, it seems that this is a good solution, but it has its drawbacks, one of them is a different logic (even if RIPE points to the same country, Google is this as e.g. China) so you have a link received via --get-url [Something like this in YT-DL] is not possible to be cleared by our player/bot, and we cannot play livestream. I am developing myself with a bigger base that is independent of YouTube.

xpiREC avatar Dec 14 '19 22:12 xpiREC

Will there be a mechanism to work around this?

TheFonsi avatar Jul 03 '20 14:07 TheFonsi

Does anyone have an idea how to solve this? { 22:33:28.6975| INFO|5| User xyz requested: !yt rammstein sonne 22:33:33.9998| INFO|5| User xyz requested: !ytp rammstein sonne 22:33:36.3544| WARN|5| Web error: [429] TooManyRequests } TS3 Error: Could not load. (youtube-dl failed to load the resource.)

MateuszLas421 avatar Sep 23 '20 22:09 MateuszLas421