Preface
Chapter 1. How the Internet Works
Chapter 2. The Legalities and Ethics of Web Scraping
Chapter 3. Applications of Web Scraping
Chapter 4. Writing Your First Web Scraper
Chapter 5. Advanced HTML Parsing
Chapter 6. Writing Web Crawlers
Chapter 7. Web Crawling Models
Chapter 8. Scrapy
Chapter 9. Storing Data
Chapter 10. Reading Documents
Chapter 11. Working with Dirty Data
Chapter 12. Reading and Writing Natural Languages
Chapter 13. Crawling Through Forms and Logins
Chapter 14. Scraping JavaScript
Chapter 15. Crawling Through APIs
Chapter 16. Image Processing and Text Recognition
Chapter 17. Avoiding Scraping Traps
Chapter 18. Testing Your Website with Scrapers
Chapter 19. Web Scraping in Parallel
Chapter 20. Web Scraping Proxies
Index
If programming is magic, then web scraping is surely a form of wizardry. By writing a simple automated program, you can query web servers, request data, and parse it to extract the information you need. This thoroughly updated third edition not only introduces you to web scraping but also serves as a comprehensive guide to scraping almost every type of data from the modern web.
Part I focuses on web scraping mechanics: using Python to request information from a web server, performing basic handling of the server's response, and interacting with sites in an automated fashion. Part II explores a variety of more specific tools and applications to fit any web scraping scenario you're likely to encounter.