在用bs4库爬虫的时候
AttributeError: ‘NoneType‘ object has no attribute ‘get_text‘
我发送错误的时候是因为地址写错了,验证方法就是print()出来检查
AttributeError: ‘NoneType‘ object has no attribute ‘get_text‘
AttributeError: ‘NoneType‘ object has no attribute ‘get_text‘
所以我修改了地址就正确了。
这种错误一般都是地址原因,你们可以print出来检查或者看find()那里的大小写问题

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
猜你喜欢
  • 2021-07-25
  • 2021-06-13
  • 2022-01-08
  • 2022-01-29
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案