how to get the class from a div using beautiful soup code example Example: how to find class using beautiful soup mydivs = soup.findAll("div", {"class": "stylelistrow"})