今天写爬虫时发现了这个错误
把
"temp.html","r"
换成
"temp.html","rb"
或者
"temp.html","r","encoding='UTF-8'"
即可
‘gbk‘ codec can‘t decode byte 0xbd in position 255: illegal multibyte sequence
阅读 50
2022-01-09
今天写爬虫时发现了这个错误
把
"temp.html","r"
换成
"temp.html","rb"
或者
"temp.html","r","encoding='UTF-8'"
即可
相关推荐
精彩评论(0)