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