get button in div without if or class beautifulsoup code example Example: filter class from beautifulsoup mydivs = soup.findAll("div", {"class": "stylelistrow"})