Jak znaleźć klasę za pomocą pięknej zupy
mydivs = soup.findAll("div", {"class": "stylelistrow"})
Tommyom
mydivs = soup.findAll("div", {"class": "stylelistrow"})
from bs4 import BeautifulSoup
# after storing your HTML text in html_text
# (lack of fantasy, ok, you got a point)
soup = BeautifulSoup(html_text, "html.parser")
# it will return a list of 'bs4.element.Tag'
# with class your_class_name
results = soup.find_all(class_ = "your_class_name")