docs: shortening the demo code in the README

This commit is contained in:
Karim shoair
2026-02-23 03:04:27 +02:00
parent a6beaaba89
commit f537613921
7 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -55,9 +55,9 @@ Blazing fast crawls with real-time stats and streaming. Built by Web Scrapers fo
```python
from scrapling.fetchers import Fetcher, AsyncFetcher, StealthyFetcher, DynamicFetcher
StealthyFetcher.adaptive = True
page = StealthyFetcher.fetch('https://example.com', headless=True, network_idle=True) # Fetch website under the radar!
products = page.css('.product', auto_save=True) # Scrape data that survives website design changes!
products = page.css('.product', adaptive=True) # Later, if the website structure changes, pass `adaptive=True` to find them!
p = StealthyFetcher.fetch('https://example.com', headless=True, network_idle=True) # Fetch website under the radar!
products = p.css('.product', auto_save=True) # Scrape data that survives website design changes!
products = p.css('.product', adaptive=True) # Later, if the website structure changes, pass `adaptive=True` to find them!
```
Or scale up to full crawls
```python