Reputation: 15
I want to print a text from div that has this class="enrte_text_itempo" Can i print it just by typing this or someithng like this?
for div in soup.find_all("div", { class = "enrte_text_itempo"}):
print(div.get_text())
because i get an error that says invalid syntax and points my word:class
Upvotes: 0
Views: 303