6

selenium爬虫'list' object has no attribute 'text'错误

 2 years ago
source link: https://www.oschina.net/question/4968205_2325090
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

selenium爬虫'list' object has no attribute 'text'错误

马赛克- 发布于 昨天 17:16

kpzf=wb.find_elements_id('un-collapse-content-4873').text
print(kpzf)

新手初学爬虫,遇到'list' object has no attribute 'text'错误,请问各位老师要怎么破,感谢


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK