python beautifulsoup get class in div code example Example: filter class from beautifulsoup mydivs = soup.findAll("div", {"class": "stylelistrow"})