Discord-Scraper icon indicating copy to clipboard operation
Discord-Scraper copied to clipboard

Half second timeout not enough to prevent HTTP 429.

Open Dracovian opened this issue 4 years ago • 3 comments

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.

Dracovian avatar Apr 23 '20 15:04 Dracovian

Hello, where would this timeout be applied?

SlothDotEXE avatar Sep 20 '20 22:09 SlothDotEXE

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).

Dracovian avatar Sep 20 '20 23:09 Dracovian

should've increased to 6 seconds. mine stopped showing 429 warnings with 6 seconds sleep

afterdelight avatar Apr 01 '22 02:04 afterdelight