- Python Data Science Essentials
- Alberto Boschetti Luca Massaron
- 114字
- 2021-08-13 15:19:34
Beautiful Soup
Beautiful Soup, a creation of Leonard Richardson, is a great tool to scrap out data from HTML and XML files that are retrieved from the internet. It works incredibly well, even in the case of tag soups (hence the name), which are collections of malformed, contradictory, and incorrect tags. After choosing your parser (the HTML parser included in Python's standard library works fine), thanks to Beautiful Soup, you can navigate through the objects in the page and extract text, tables, and any other information that you may find useful:
- Website: http://www.crummy.com/software/BeautifulSoup
- Version at the time of print: 4.6.0
- Suggested install command: pip install beautifulsoup4
Note that the imported module is named bs4.
推薦閱讀
- Big Data Analytics with Hadoop 3
- Getting Started with MariaDB
- 數據中心建設與管理指南
- 腦動力:PHP函數速查效率手冊
- Mastering D3.js
- Visual Basic從初學到精通
- 新編計算機組裝與維修
- 網站前臺設計綜合實訓
- Microsoft System Center Confi guration Manager
- Flink原理與實踐
- 工業機器人力覺視覺控制高級應用
- Machine Learning in Java
- Practical Network Automation
- Arduino創意機器人入門:基于Mind+
- 服務器配置與應用(Windows Server 2008 R2)