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

[Feature Request] Support multiple auth for the event of 429 #87

Open
DontTalkToMeThx opened this issue May 15, 2024 · 0 comments
Open

Comments

@DontTalkToMeThx
Copy link

An easy "fix" to this rate limiting issue is to just allow switching between multiple accounts in the event of a 429. So when doing scraper.login() you can provide an array of username/password/email/etc combos to switch between if a 429 occurs.

Alternatively, allow scraper to emit a "rate limit" event that can be used to change the active auth. This would probably be easier to develop and gives the ability to handle it to the user rather than having to code it all in yourself.

I think this is better than waiting for a long time, since I was a little confused as to why my app was hanging until I dug into the code and saw that it can wait for up to 13 minutes without warning.

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

1 participant