注:scrapy框架默认发送get请求
1. scrapy.FormRequest(url,formdata=data,callback=self.parse_page)
2. scrapy.Request(url=url, cookies=self.cookie, headers=self.headers, method="POST", body=data, callback=self.parse)
2024-03-17 18:55:34
注:scrapy框架默认发送get请求
1. scrapy.FormRequest(url,formdata=data,callback=self.parse_page)
2. scrapy.Request(url=url, cookies=self.cookie, headers=self.headers, method="POST", body=data, callback=self.parse)
下一篇:C编程技巧资源