Indo de uma página da web em BeautifulSoup

heading = soup.find(name='h1', id='myname')
print(heading)
Tejas Naik