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