源自:2-6 spider文件的编写(1)
执行 scrapy crawl WaBei_spider 时报错 UnicodeEncodeError: 'gbk' codec can't encode character '\xee' in position 22355: illegal multibyte sequence
UnicodeEncodeError: 'gbk' codec can't encode character '\xee' in position 22355: illegal multibyte sequence
求助呀???
提问者:慕前端4274147
2020-01-25 22:17
个回答
-
man.py 第一行加上一下一行代码试试:
# -*- coding:utf-8 -*-