findall() elements with certain classnames python bs4 code example Example: beautifulsoup find all class mydivs = soup.findAll("div", {"class": "stylelistrow"})