使用以下代码,我当前收到错误
print(soup.preetify())给错误TypeError:'NoneType'对象是 无法通话
import requests
from bs4 import BeautifulSoup
page=requests.get("http://dataquestio.github.io/web-scraping-pages/simple.html")
soup=BeautifulSoup(page.content,'html.parser')
print(soup.preetify())
print(page.status_code)
我该如何解决?