- Python Web Scraping(Second Edition)
- Katharine Jarmul Richard Lawson
- 117字
- 2021-07-09 19:42:44
Crawling your first website
In order to scrape a website, we first need to download its web pages containing the data of interest, a process known as crawling. There are a number of approaches that can be used to crawl a website, and the appropriate choice will depend on the structure of the target website. This chapter will explore how to download web pages safely, and then introduce the following three common approaches to crawling a website:
- Crawling a sitemap
- Iterating each page using database IDs
- Following web page links
We have so far used the terms scraping and crawling interchangeably, but let's take a moment to define the similarities and differences in these two approaches.
推薦閱讀
- OpenCV 3和Qt5計算機視覺應用開發
- 前端架構:從入門到微前端
- 軟件測試技術指南
- Node.js Design Patterns
- Visual Basic程序設計實驗指導(第二版)
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- Unity&VR游戲美術設計實戰
- HTML5開發精要與實例詳解
- .NET 4.5 Parallel Extensions Cookbook
- Solutions Architect's Handbook
- C語言程序設計實訓教程與水平考試指導
- Learning Ionic
- 遠方:兩位持續創業者的點滴思考
- Anaconda數據科學實戰
- MongoDB Administrator’s Guide