beautiful soup find elements by class code example Example: soup.find for class mydivs = soup.findAll("div", {"class": "stylelistrow"})