docs: style adjustment
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Example 1: Python - FetcherSession (persistent HTTP session with Chrome TLS fingerprint)
|
||||
|
||||
Scrapes all 10 pages of quotes.toscrape.com using a single HTTP session.
|
||||
No browser launched — fast and lightweight.
|
||||
No browser launched - fast and lightweight.
|
||||
|
||||
Best for: static or semi-static sites, APIs, pages that don't require JavaScript.
|
||||
"""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Scrapling Examples
|
||||
|
||||
These examples scrape [quotes.toscrape.com](https://quotes.toscrape.com) — a safe, purpose-built scraping sandbox — and demonstrate every tool available in Scrapling, from plain HTTP to full browser automation and spiders.
|
||||
These examples scrape [quotes.toscrape.com](https://quotes.toscrape.com) - a safe, purpose-built scraping sandbox - and demonstrate every tool available in Scrapling, from plain HTTP to full browser automation and spiders.
|
||||
|
||||
All examples collect **all 100 quotes across 10 pages**.
|
||||
|
||||
@@ -17,10 +17,10 @@ scrapling install --force
|
||||
|
||||
| File | Tool | Type | Best For |
|
||||
|--------------------------|-------------------|-----------------------------|---------------------------------------|
|
||||
| `01_fetcher_session.py` | `FetcherSession` | Python — persistent HTTP | APIs, fast multi-page scraping |
|
||||
| `02_dynamic_session.py` | `DynamicSession` | Python — browser automation | Dynamic/SPA pages |
|
||||
| `03_stealthy_session.py` | `StealthySession` | Python — stealth browser | Cloudflare, fingerprint bypass |
|
||||
| `04_spider.py` | `Spider` | Python — auto-crawling | Multi-page crawls, full-site scraping |
|
||||
| `01_fetcher_session.py` | `FetcherSession` | Python - persistent HTTP | APIs, fast multi-page scraping |
|
||||
| `02_dynamic_session.py` | `DynamicSession` | Python - browser automation | Dynamic/SPA pages |
|
||||
| `03_stealthy_session.py` | `StealthySession` | Python - stealth browser | Cloudflare, fingerprint bypass |
|
||||
| `04_spider.py` | `Spider` | Python - auto-crawling | Multi-page crawls, full-site scraping |
|
||||
|
||||
## Running
|
||||
|
||||
|
||||
Reference in New Issue
Block a user