Closed wonderer007 closed 3 years ago
I am writing a bot to scrape a website and within x time frame server respond with the below error
Mechanize::ResponseCodeError: 429 => Net::HTTPTooManyRequests for https://www.myscrappingserver.com -- unhandled response
After Y amount of time, I can make a request to the server again. Can I avoid this behaviour by using proxy with Mechanize gem or changing user agent?
I am writing a bot to scrape a website and within x time frame server respond with the below error
After Y amount of time, I can make a request to the server again. Can I avoid this behaviour by using proxy with Mechanize gem or changing user agent?