python BeautifulSoup select code example
Example 1: soup.find for class
mydivs = soup.findAll("div", {"class": "stylelistrow"})
Example 2: children beautiful soup
li = soup.find('li', {'class': 'text'})
children = li.findChildren("a" , recursive=False)
for child in children:
print child