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
- Install the Cambridge Reader desktop app and download the book you want.
- Log in once so the app stores its local data.
- Install a Chromium build for Playwright.
Install the CLI
Install globally with your preferred package manager:
pnpm add -g cambridge-reader-scrapernpm install -g cambridge-reader-scraperbun add -g cambridge-reader-scraperIf you do not want a global install, just use an exec runner:
pnpm dlx cambridge-reader-scrapernpx cambridge-reader-scraperbunx cambridge-reader-scraperInstall Playwright Chromium
pnpm dlx playwright install chromiumnpx playwright install chromiumbunx playwright install chromiumFirst run
cambridge-reader-scraperWhen you do not pass --outdir, the CLI prompts once for the output folder. Press Enter to accept the default out directory.