CRSCambridge Reader Scraper

Getting Started

Install the CLI, prep Playwright, and export your first PDF.

cambridge-reader-scraper inspects local Cambridge Reader data and rebuilds selected books into PDFs.

Prerequisites

  1. Install the Cambridge Reader desktop app and download the book you want.
  2. Log in once so the app stores its local data.
  3. Install a Chromium build for Playwright.

Install the CLI

Install globally with your preferred package manager:

pnpm add -g cambridge-reader-scraper
npm install -g cambridge-reader-scraper
bun add -g cambridge-reader-scraper

If you do not want a global install, just use an exec runner:

pnpm dlx cambridge-reader-scraper
npx cambridge-reader-scraper
bunx cambridge-reader-scraper

Install Playwright Chromium

pnpm dlx playwright install chromium
npx playwright install chromium
bunx playwright install chromium

First run

cambridge-reader-scraper

When you do not pass --outdir, the CLI prompts once for the output folder. Press Enter to accept the default out directory.

Next steps

On this page