beautifulsoup4 find all a with class code example Example: beautifulsoup find all class mydivs = soup.findAll("div", {"class": "stylelistrow"})