You can refine your search to only find those divs with a given class using BS3:
mydivs = soup.find_all(“div”, {“class”: “stylelistrow”})
From the documentation:
As of Beautiful Soup 4.1.2, you can search by CSS class using the keyword argument class_:
soup.find_all(“a”, class_=”sister”)
Which in this case would be:
soup.find_all(“div”, class_=”stylelistrow”)
It would also work for:
soup.find_all(“div”, class_=”stylelistrowone stylelistrowtwo”)