Install
Your first scrape
Create a file and paste this:What just happened
new ReaderClient(...)- creates a client. No browser yet.reader.scrape(...)- on the first call, Reader spins up a browser pool behind the scenes and runs the scrape. The pool stays alive for subsequent calls.- Hero engine - Reader renders the page in headless Chrome with JavaScript execution, TLS fingerprinting, and proxy routing. If the first attempt fails, it escalates to a residential proxy automatically.
- Content cleaning - by default, Reader extracts only the main content, strips ads and navigation, and converts to clean markdown.
reader.close()- shuts down browsers. Optional - Reader also auto-cleans onSIGTERM/SIGINT.
Try something more interesting
Scrape multiple URLs in parallel with progress tracking:Where to go next
Examples
Crawling, proxy rotation, dynamic content, and more.
Concepts: Scraping Engine
How the Hero engine and proxy escalation work.
Guides: Batch Scraping
Tune concurrency, handle errors, track progress.
API Reference
Full type reference for every option.

