Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

children beautiful soup

li = soup.find('li', {'class': 'text'})
children = li.findChildren("a" , recursive=False)
for child in children:
    print child
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #children #beautiful #soup
ADD COMMENT
Topic
Name
5+7 =