CRSCambridge Reader Scraper

CLI Reference

Commands, options, and behavior in one place.

Commands

CommandWhat it does
reconstructRebuild selected books into PDFs.
pdfAlias for reconstruct.
inspectPrint detected book metadata without rendering PDFs.
completion <shell>Print a completion script for the selected shell.
helpShow the CLI help output.

Options

OptionDescription
--userdata <path>Override the Cambridge Reader userdata root.
--app-name <name>Override the app name used during default userdata discovery.
--isbn <isbn>Restrict work to one or more specific ISBNs.
--outdir <path>Write PDFs to this folder and skip the output-folder prompt.
--workdir <path>Override the temporary extraction directory.
--browser <path>Use a specific Playwright Chromium executable.
--page-timeout-ms <ms>Set the per-page navigation timeout.
--max-pages <count>Render only the first N pages of each selected book.
--concurrency <count>Process multiple books in parallel.
--keep-extractedKeep extracted book files after rendering.
--no-tuiDisable the TUI and process everything non-interactively.
--help / -hPrint help output.

Exit behavior

  • A successful run exits with code 0.
  • Failures return a non-zero exit code.
  • Ctrl+C exits the TUI immediately.

Completion command

cambridge-reader-scraper completion bash
cambridge-reader-scraper completion zsh
cambridge-reader-scraper completion fish
cambridge-reader-scraper completion powershell
cambridge-reader-scraper completion xonsh

On this page