python beautifulsoup search by class and get text code example Example: beautifulsoup find all class mydivs = soup.findAll("div", {"class": "stylelistrow"})