beautifulsoup class find class contains code example Example: beautifulsoup find class mydivs = soup.findAll("div", {"class": "stylelistrow"})