- Python Web Scraping Cookbook
- Michael Heydt
- 130字
- 2021-06-30 18:43:59
Introduction
The key aspects for effective scraping are understanding how content and data are stored on web servers, identifying the data you want to retrieve, and understanding how the tools support this extraction. In this chapter, we will discuss website structures and the DOM, introduce techniques to parse, and query websites with lxml, XPath, and CSS. We will also look at how to work with websites developed in other languages and different encoding types such as Unicode.
Ultimately, understanding how to find and extract data within an HTML document comes down to understanding the structure of the HTML page, its representation in the DOM, the process of querying the DOM for specific elements, and how to specify which elements you want to retrieve based upon how the data is represented.
- 物聯網與北斗應用
- 物聯網(IoT)基礎:網絡技術+協議+用例
- MERN Quick Start Guide
- 物聯網智慧安監技術
- 物聯網之魂:物聯網協議與物聯網操作系統
- 物聯網信息安全
- 網絡的琴弦:玩轉IP看監控
- 通信簡史:從信鴿到6G+
- Getting Started with Grunt:The JavaScript Task Runner
- 城域網與廣域網(第2版)
- 智慧光網絡:關鍵技術、應用實踐和未來演進
- Microservice Patterns and Best Practices
- Bonita Open Solution 5.x Essentials
- 網絡工程實施技術與方案大全
- INSTANT LinkedIn Customization How-to