Discord-Scraper
Discord-Scraper copied to clipboard
Half second timeout not enough to prevent HTTP 429.
The script is still prone to being ratelimited. So a workaround to this will be setting the timeout to one second instead of a half second. This should be rectified upon the next commit.
Hello, where would this timeout be applied?
https://github.com/Dracovian/Discord-Scraper/blob/experimental_requests/DiscordScraper/NetworkHandler.py#L86
The timeout variable is a function argument that defaults to 0.5 (half a second).
should've increased to 6 seconds. mine stopped showing 429 warnings with 6 seconds sleep