0
点赞
收藏
分享

微信扫一扫

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

Gaaidou 2022-01-09 阅读 50

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

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

相关推荐

0 条评论