check if there's an h1 tag bs4 code example Example: beautifulsoup get h1 company = soup.find('h1', {'class' : 'listing-name'})