import gazpacho
url = "https://www.777zw.net/book/a5/1b7f00960c//"
headers = {'User-Agent': 'Mozilla/5.0'}
html = gazpacho.get(url, headers=headers)
parse = gazpacho.Soup(html)
text = parse.find_all('p')[0].text
结果报错,显示TypeError: 'NoneType' object is not subscriptable
问的问题可能有些低级,烦请您指教,感激不尽
可能gazoacho.get没有返回,print一下检查一下