‘gbk‘ codec can‘t decode byte 0xbd in position 255: illegal multibyte sequence

Gaaidou

关注

阅读 50

2022-01-09

今天写爬虫时发现了这个错误

把
"temp.html","r"
换成
"temp.html","rb"
或者
"temp.html","r","encoding='UTF-8'"
即可

精彩评论(0)

0 0 举报