当python爬虫,解析网页内容时,输出网页元素时出现编码问题:如下:
UnoinEncodeError: 'gbk' codec can't encode character 'xa0' in position 147: illegal multibyte sequence
更改属性:
解决参考:
https://www.bbsmax.com/A/D854OObpJE/