运行爬虫中显示中文 在自定义Spider中的parse函数,使用response.body_as_unicode(),输出就可以。 保存爬取的html在本地 with open("XXXX.html",'w',encoding='utf-8') as f: f.write(response.body_as_unicode()) 即可解决使用scrapy不显示中文、