爬虫”系统繁忙,请稍后再试“,怎么破
爬虫”系统繁忙,请稍后再试“,怎么破?真费脑啊,全网都没有答案,跪求各位大神一解
import requests
import json
url="http://www.winshangdata.com/wsapi/project/list3_4"
data1={"pageNum":"1","orderBy":"1","pageSize":"60","zsxq_yt1":"","zsxq_yt2":"","qy_p":"301","qy_c":"","qy_a":"","xmzt":"","key":"","wuyelx":"","isHaveLink":"","ifdporyt":""}
headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36"}
data=requests.post(url,data=data1,headers=headers)
data.text
被限制了 触发反爬了叭
要么控制爬取速度,要么使用IP代理 有可能header里的refer没写 https://blog.csdn.net/m0_43400362/article/details/88396490 触发网站的发爬措施,试着将网站request请求中的参数都带进去。
页:
[1]