how to find each title with beautifulsoup code example
Example 1: get title beautifulsoup
# to get the title from BeautifulSoup
soup = ('html_file', 'html.parser')
print(soup.title)
Example 2: get title beautifulsoup
# to get the title from BeautifulSoup
soup = ('html_file', 'html.parser')
print(soup.title.string)