beautifulsoup get class of element code example Example: beautifulsoup find class mydivs = soup.findAll("div", {"class": "stylelistrow"})