Reader scrapes and crawls websites into clean markdown for agents, with browser pooling, anti-bot stealth, proxy tiers, concurrent batches, and optional stealthed Chrome sessions via CDP.
Overview
Reader wraps Playwright with production-oriented scraping concerns: pooled browsers, TLS and navigator spoofing, Cloudflare resistance, proxy rotation, retries, and markdown extraction that drops navigation chrome.
Three primitives cover single URL scrapes, multi-URL concurrency, and bounded crawls. A browser() mode launches stealthed Chrome that external Playwright or Puppeteer scripts can attach to over CDP.
The package installs through npm and exposes both a CLI and programmatic API, with daemon mode to keep warm browser pools between requests.
Key features
- Markdown and HTML output
- Anti-bot stealth defaults
- Browser pool management
- Tiered standard and premium proxies
- Concurrent batch scraping
- BFS website crawling
- CLI and programmatic API
- CDP browser sessions
Use cases
- Feed clean web text to LLM agents
- Crawl documentation sites
- Scrape pages behind basic bot checks
- Reuse Playwright on stealthed Chrome
- Batch-process many URLs