AttributeError: ‘NoneType‘ object has no attribute ‘get_text‘

在用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()那里的大小写问题