只写出post怎么用的,我不写post的具体原理,我也不清楚。。。。。
post格式写法:
response=requests.post(url,data=data,headers=header)
请求网址url:
data是一个字典,是其要提交的查询字符串,就是下图的data:
headers是一个字典,其字典里装的是伪装头部分,里面有 User-Agent、cookie 等
只写出post怎么用的,我不写post的具体原理,我也不清楚。。。。。
post格式写法:
response=requests.post(url,data=data,headers=header)
请求网址url:
data是一个字典,是其要提交的查询字符串,就是下图的data:
headers是一个字典,其字典里装的是伪装头部分,里面有 User-Agent、cookie 等