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