mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 14:24:23 -05:00
Getting Youtube oAuth token rate limited every 15 mins #345
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @2shiraz on GitHub (Jul 9, 2024).
problem description
I host cobalt instances on my servers. I am getting my Youtube oAuth timed out/rate limited every 15 mins. After that, I have to replace it with another account token ( currently I replace it with the previously used account token ). I'm just asking here to find out if anyone else getting this too? I saw the main cobalt instances were not affected.
Rate Limited Account :
ps: I handle around 3 million user/m traffic
@devilr33f commented on GitHub (Jul 9, 2024):
you can use multiple youtube accounts and it'll help you to hit the youtube limits less
@wukko commented on GitHub (Jul 10, 2024):
if you have several youtube tokens in the cookies file, cobalt will distribute requests between all of them evenly, reducing the probability of each specific one getting rate limited
@2shiraz commented on GitHub (Jul 10, 2024):
Yes, just figured it out. Didn't know that the rotation algorithm was there till I checked the code. Thanks anyways, saved my day literally!