beautiful soup get text code example
Example 1: beautifulsoup get text
# Find all of the text between paragraph tags and strip out the html
page = soup.find('p').getText()
Example 2: python beautifulsoup find_all
import re
soup.find_all(re.compile("^b")):
soup.find_all('b')
soup.find_all(["a", "b"])