爬虫返回代码为乱码

response = requests.get(url, headers=headers)
该下面的就行
response.encoding = 'utf-8'

posted @ 2024-09-23 20:27  神仙不在  阅读(12)  评论(0)    收藏  举报