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