原文:https://blog.csdn.net/zhanghaipeng1989/article/details/41117887
如果自己的脚本里编码没有问题的话,要看一下设置的header是否存在 ‘Accept-Encoding’:’ gzip, deflate’,这一句话,如果存在,删除即可解决。

发现爬虫爬取的时候失败了,一致报这个错,google搜了几个发现不对,终于找到这个原因了,感谢博主。
解决 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

相关文章:

  • 2021-07-22
  • 2021-11-19
  • 2021-09-23
  • 2021-06-15
  • 2021-06-11
  • 2021-09-28
  • 2021-06-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
相关资源
相似解决方案