how to get all divs with certain class python code example Example: how to find class using beautiful soup mydivs = soup.findAll("div", {"class": "stylelistrow"})