Is there an InnerText equivalent in BeautifulSoup?

All you need is:

result = soup.find('div', {'class' :'flagPageTitle'}).text

Leave a Comment