Web Scraping with Python - Data Extraction from the Modern Web - Web Scraping mit Python - Datenextraktion aus dem modernen Web (Ryan Mitchell)(Z-Library)
python
Wenn Programmierung Magie ist, dann ist Web Scraping sicherlich eine Form der Zauberei. Durch das Schreiben eines einfachen automatisierten Programms können Webserver abgefragt, Daten angefordert und analysiert werden, um die benötigten Informationen zu extrahieren. Diese gründlich aktualisierte dritte Auflage führt nicht nur in das Web Scraping ein, sondern dient auch als umfassender Leitfaden für das Scraping fast aller Arten von Daten aus dem modernen Web.
14
Views
0
Downloads
0.00
Total Donations
AI Guide
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
AI guide
# Web Scraping with Python - Data Extraction from the Modern Web
## 【One-Line Pitch】
A comprehensive, hands-on guide to extracting data from virtually any website using Python—covering everything from basic HTML parsing to advanced techniques like JavaScript rendering, authentication, and anti-scraping evasion. Ideal for developers, data analysts, and curious programmers who want to turn the web into their personal data source.
## 【Book Arc】
- **Opening (~0%–9%)**: Introduces web scraping as a concept, clarifies terminology (scrapers vs. crawlers vs. bots), and addresses common misconceptions about legality and technical difficulty. Sets expectations for a two-part structure: fundamentals first, advanced topics second.
- **Early (~9%–28%)**: Establishes the book's scope and prerequisites—Python knowledge is assumed, not taught. Covers the "why" of scraping (scale, speed, access to data invisible to search engines) and provides practical guidance on using the companion GitHub repository, code examples, and environment setup across operating systems.
- **Early (~28%–38%)**: Lays the groundwork for Part I by explaining what 90% of scraping projects involve: fetching HTML, parsing it for target information, storing results, and optionally following links to repeat the process. Emphasizes that these fundamentals will be used daily.
- **Middle (~38%–53%)**: Dives into how the internet actually works—the protocols, standards, and organizational structures that govern data transmission. Explains the OSI model layer by layer (physical, data link, network, transport, session), with particular attention to the application layer where most scraping happens, plus practical implications like TLS fingerprinting for detection.
- **Middle (~53% onward)**: Continues building the technical foundation, distinguishing between OSI session-layer sessions and HTTP sessions, and exploring how these concepts apply to real-world scraping challenges. The book then transitions into advanced topics in Part II, including JavaScript-heavy sites, authentication, and anti-scraping measures.
## 【Key Takeaways】
- **Web scraping is the art of replacing your browser with a custom program** (Early): Instead of manually viewing pages, you write scripts that request, parse, and store data at scale—enabling everything from market forecasting to medical research and even art projects like "We Feel Fine."
- **The field has a terminology worth knowing** (Early): "Web scraping" is the umbrella term; "crawlers" specifically traverse multiple pages, and "bots" are the programs themselves. Understanding these distinctions helps when researching solutions and communicating with others.
- **Part I fundamentals cover 90% of real-world scraping projects** (Early): The core loop—fetch HTML, parse for targets, store data, optionally follow links—is simple but powerful. Master this before moving to advanced techniques; you'll use it daily.
- **Python knowledge is a prerequisite, not a lesson** (Early): The book assumes basic Python fluency and focuses on scraping-specific concepts. Beginners should pair it with a Python introduction like *Think Python* or *Introducing Python* rather than expecting this book to teach the language.
- **The OSI model provides a mental map for debugging and evasion** (Middle): While most scraping happens at the application layer (Layer 7), understanding lower layers helps with troubleshooting and explains techniques like TLS fingerprinting (Layer 4) used to detect scrapers.
- **The internet runs on voluntary standards, not central authority** (Middle): No single organization governs the web; instead, ad-hoc, opt-in standards bodies shape how data flows. Scrapers must respect these conventions or risk their requests being ignored.
- **Code examples are living artifacts** (Early): Libraries and websites change frequently, so the author maintains a GitHub repository with updated code. Run examples from the repo rather than copying from the printed page to avoid version-related failures.
## 【Reading Tips】
- **Skim the OSI model chapter if you're already networking-savvy** (Middle): The layer-by-layer explanation is thorough but conceptual; focus on the application layer details and the TLS fingerprinting discussion, which have direct scraping implications.
- **Deep-read Part I chapters 1–6 carefully** (Early): The author explicitly states these fundamentals will be used in nearly every project. Don't rush through them even if they seem basic—they're the foundation for everything that follows.
- **Keep the GitHub repository open while reading** (Early): Code examples are maintained separately from the book to account for library updates. Always run from the repo to avoid frustrating errors from outdated dependencies.
- **Treat Part II as a reference, not a linear read** (Early): The author recommends studying Part I thoroughly, then consulting specific advanced chapters as needed for your particular project (JavaScript-heavy sites, authentication, etc.).
- **Note the OS vs. Linux command differences** (Early): Terminal commands target Linux-based systems but generally work on Windows with a properly configured Python environment. Check for OS-specific instructions when something doesn't work.
## 【Coverage Limits】
This guide covers the book's opening, foundational concepts, and early technical chapters (approximately the first half). The excerpts do not cover the advanced topics in Part II—JavaScript rendering, authentication flows, API scraping, image processing, or anti-scraping countermeasures—which constitute the second half of the book.
##
Passage locations
Excerpt 1
eröffentlichung Siehe http://oreilly.com/catalog/errata.csp?isbn=9781098145354 für Details zur Veröffentlichung. Das O'Reilly-Logo ist eine eingetragene Mark...
View in text
Excerpt 2
ng sein. Bitte verwende es nicht als Python-Einführungstext. Ich habe versucht, alle Konzepte und Codebeispiele auf dem Niveau von Anfängern und Fortgeschrit...
View in text
Excerpt 3
e unter https://oreil.ly/web_scraping_with_python aufrufen . Neuigkeiten und Informationen über unsere Bücher und Kurse findest du unter https://oreilly.com....
View in text
Excerpt 4
wie Funkwellen über Bluetooth und WiFi interpretiert werden. Diese Ebene beinhaltet keine Programmierung oder digitalen Anweisungen, sondern basiert rein auf...
View in text
Recommended for You
{{#thumbnailUrl}}
{{/thumbnailUrl}}
{{^thumbnailUrl}}
{{/thumbnailUrl}}
Loading recommended books...
Failed to load, please try again later
Tip the Site
Scan the WeChat Pay or Alipay code to tip. No login required.
WeChat Pay
Alipay