python soup find by title 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)