I\'d like to understand how to extract a h1 tag text which contains many others tags in it using beautiful soup :
Try using a dictionary:
company = soup.find('h1', {'class' : 'listing-name'})
Or the following:
company = soup.find('h1', class_ ='listing-name')
Note the underscore after class. This is because class is a reserved word in python.
More info can be found here: https://www.crummy.com/software/BeautifulSoup/bs4/doc/#attrs