You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: