send error
from bs4 import BeautifulSoup
html = '<html><head><title>Test</title></head><body><h1>Parse me!</h1></body></html>'
soup = BeautifulSoup(html, 'html.parser')
# 获取标题标签的文本内容
title = soup.title.get_text()
print("Title:", title)
# 获取正文中的第一个h1标签的文本内容
h1 = soup.body.h1.get_text()
print("h1:", h1)