最近开始接触爬虫,写了如下源代码: from bs4 import BeautifulSoup import requests url='https://www.tripadvisor.cn/Attractions-g60763-Activities-New_York_City_New_York.html' wb_date=requests.get(url) soup=BeautifulSoup(wb_date.text,'lxml') print(soup) 但是开头引用的“from bs4 …