Beautiful Soup库的安装
(cmd) pip install beautifulsoup4
使用Beautiful Soup库
from bs4 import BeautifulSoup
soup=BeautifulSoup('<p>data</p>','html.parser')
html.parser 解释器
2023-12-25 19:52:28
(cmd) pip install beautifulsoup4
from bs4 import BeautifulSoup
soup=BeautifulSoup('<p>data</p>','html.parser')
html.parser 解释器