Мне удалось удалить текст из поиска, но при использовании find_all я получу ошибку.
equipmentType = category.find_all("div", {"class":"ExResult-details ExResult-equipmentType"}).text
print(equipmentType)`
`Traceback (most recent call last):
File "scrape.py", line 17, in <module>
equipmentType = category.find_all("div", {"class":"ExResult-details ExResult-equipmentType"}).text
File "/home/bert/.local/lib/python2.7/site-packages/bs4/element.py", line 1578, in __getattr__
"ResultSet object has no attribute '%s'. You're probably treating a list of items like a single item. Did you call find_all() when you meant to call find()?" % key
AttributeError: ResultSet object has no attribute 'text'. You're probably treating a list of items like a single item. Did you call find_all() when you meant to call find()?
`