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

标题:AttributeError: ‘NoneType’ object has no attribute ‘text’

The official account is: It is the first time to try this official account, so it is still in the initial stage, I hope you can pay attention and support:

insert image description here

It means that the current soup.find(XXX) gets None, so there is no text object
insert image description heresolution,
insert image description here

Guess you like

Origin blog.csdn.net/weixin_45986454/article/details/126209458