text from h3 beautiful python code example Example: beautifulsoup get h1 company = soup.find('h1', {'class' : 'listing-name'})