安装:pip install beautifulsoup4 导入使用: import bs4from bs4 import BeautifulSoup(soup = BeautifulSoup(response,“lxml”))类似用法 博客:https://cuiqingcai.com/1319.html