Installation
You can install the SDK via pip:Usage Examples
The SDK provides two clients:Scrapely for standard synchronous scripts, and AsyncScrapely for high-performance, concurrent applications using asyncio.
- Synchronous (Sync)
- Asynchronous (Async)
Advanced Usage
Automation Instructions
You can pass a list of instructions to interact with the page before scraping. The SDK provides helper classes (SendKeys, Click, Wait, etc.) for type safety and auto-completion.
Typed Response Objects
All API responses are returned as strictly typed Python dataclasses for better IDE support.CrawlerResponse: Returned by crawler tasks. Contains aresult(CrawlerResult) object with fields likehtml,text,cookies,screenshot, anduser_agent.CaptchaResponse: Returned by CAPTCHA tasks. Contains aresult(CaptchaResult) object with the solvedsolutionstring.

