- Python Web Scraping(Second Edition)
- Katharine Jarmul Richard Lawson
- 144字
- 2021-07-09 19:42:47
Scraping the Data
In the previous chapter, we built a crawler which follows links to download the web pages we want. This is interesting but not useful-the crawler downloads a web page, and then discards the result. Now, we need to make this crawler achieve something by extracting data from each web page, which is known as scraping.
We will first cover browser tools to examine a web page, which you may already be familiar with if you have a web development background. Then, we will walk through three approaches to extract data from a web page using regular expressions, Beautiful Soup and lxml. Finally, the chapter will conclude with a comparison of these three scraping alternatives.
In this chapter, we will cover the following topics:
- Analyzing a web page
- Approaches to scrape a web page
- Using the console
- xpath selectors
- Scraping results
推薦閱讀
- Deploying Node.js
- GitLab Cookbook
- C++程序設計(第3版)
- GraphQL學習指南
- Hands-On C++ Game Animation Programming
- EPLAN實戰設計
- Elasticsearch for Hadoop
- Mastering ServiceNow(Second Edition)
- Python算法從菜鳥到達人
- Flutter跨平臺開發入門與實戰
- Getting Started with Laravel 4
- C語言程序設計與應用(第2版)
- SAS編程演義
- Getting Started with JUCE
- ArcPy and ArcGIS(Second Edition)