其他分享
首页 > 其他分享> > BeautifulSoupa安装

BeautifulSoupa安装

作者:互联网

可以直接使用 pip 安装:

$ pip install beautifulsoup4

BeautifulSoup 不仅支持 HTML 解析器,还支持一些第三方的解析器,如,lxml,XML,html5lib 但是需要安装相应的库。

$ pip install lxml

$ pip install html5lib

下载链接https://pypi.org/project/beautifulsoup4/

标签:解析器,lxml,BeautifulSoupa,install,pip,beautifulsoup4,安装,html5lib
来源: https://blog.csdn.net/Tshuyuan/article/details/112133054