摘要: 1.'gbk' codec can't encode character '\xXX' in position XX f=open(file,'w',encoding='utf-8')#要加encoding='utf-8'这个参数 f.write(ss.text)#就不会报错 2.爬虫request 阅读全文
posted @ 2020-05-27 14:01 九里九里 阅读(281) 评论(0) 推荐(0)