python bs find element where class is not string code example Example: beautifulsoup find all class mydivs = soup.findAll("div", {"class": "stylelistrow"})