Scrapy Post提交json数据

xiaoxiao2021-02-28  58

scrapy使用post方式提交json参数

yield Request( url=post_url, method='POST', body=json.dumps(data), headers={'Content-Type': 'application/json'}, callback=self.parse_kline )
转载请注明原文地址: https://www.6miu.com/read-2632853.html

最新回复(0)