What problem does it solve?
Scraping modern websites that require JavaScript rendering, evade simple HTTP fetches, or deploy anti-bot protections (e.g., Cloudflare Turnstile) is time-consuming and brittle. Scrapling provides a unified, developer-friendly toolkit to fetch, render, and extract content reliably from dynamic or protected sites so you can collect structured data without manual browser automation or constant selector maintenance.
Core Features & Use Cases
- Adaptive parsing that learns element properties and relocates selectors when pages change, reducing maintenance.
- Anti-bot bypass with a stealth browser capable of solving Cloudflare Turnstile and minimizing fingerprinting.
- Multiple fetch modes: fast HTTP fetches for simple pages, dynamic browser rendering for JS-driven sites, and stealthy browser fetches for protected sites.
- Spider framework for concurrent, resumable crawls with proxy rotation, per-domain concurrency limits, and checkpointing (pause/resume).
- Python API and CLI for one-off extracts, streaming crawls, and full programmatic control; real-time stats and structured item export.
- Ethical guardrails and recommendations to respect robots.txt, terms of service, and avoid scraping sensitive data.
Quick Start
Use scrapling to stealthy-fetch https://example.com, wait for the main article to load, and extract the article text using a CSS selector for export as structured JSON.