22

Python下利用BeautifulSoup解析HTML-东凌阁的博客

 4 years ago
source link: https://blog.51cto.com/13673090/2466801
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
摘要BeautifulSoup是一个可以从HTML或XML格式文件中提取数据的Python库,他可以将HTML或XML数据解析为Python对象,以方便通过Python代码进行处理。文档环境本文档中代码的测试环境BeautifuSoup使用说明BeautifulSoup的基本功能就是对HTML的标签进行查找及编辑。基本概念-对象类型BeautifulSoup将复杂HTML文档转换成一个复杂的树形结

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK