我使用此请求使用scrapy plash进行表单请求,但它说该方法是没有的,飞溅只能处理并在
yield SplashFormRequest(url,
args={'wait': 5,
'http_method':"POST",
'body' : body,
'cookies':cookie},
headers=headers,
callback=self.parse_listings,
dont_filter=True)
如何使其发布方法?
yield SplashFormRequest(url,
method="POST",
args={'wait': 5,
'body' : body,
'cookies':cookie},
headers=headers,
callback=self.parse_listings,
dont_filter=True)