I am a novice, for the first time to write I downloaded the beautiful soup4 but don't know why I can't use find_all
CodePudding user response:
I think it should be: host_info [0]. Find_all (" li ")!
CodePudding user response:
Suggest a complete code, can at least see you ever import ah, is there any initialization ah,,,,
CodePudding user response:
Can only use the selector class find_all host_infos you print is a None, NoneType this type is no find_all of this method
CodePudding user response: