utf- 8
来源:1-1 导学

慕瓜5180063
2022-10-20
Traceback (most recent call last):
File “d:/python/y/y1.py”, line 72, in
spider.go()
File “d:/python/y/y1.py”, line 65, in go
htmls = self.__fetch_content()
File “d:/python/y/y1.py”, line 23, in __fetch_content
htmls = str(htmls, encoding=‘utf-8’)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x8b in position 1: invalid start byte
这报错怎么解决
写回答
1回答
-
7七月
2022-10-21
基本不可能从这个信息里找到问题的,建议调试下
00
相似问题