在执行Web抓取项目时,要提取我需要的所有信息,我需要发出许多请求,但是服务器在大约50个请求后以429状态代码回答,该状态代码指示错误“太多请求”,如何处理呢?
例如,也许您应该尝试使用HideMyIP,并每5或10分钟更改一次IP
My guess is you'll either need to slow down the frequency of your requests, or anonymize. We have a couple of articles on our site that will explain your options if you decide to go the anonymization route:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.