beatifulsoup get h1 code example Example: beautifulsoup get h1 company = soup.find('h1', {'class' : 'listing-name'})