attrs python beautifulsoup code example Example: soup.find for class mydivs = soup.findAll("div", {"class": "stylelistrow"})