BeautifulSoup的格式化输出函数:

print(soup.prettify())

04-27 02:18