Quickstart
Mirror a first website and choose between interactive setup and explicit flags.
Interactive setup
Pass only a URL in an interactive terminal:
site-scraper https://www.example.com
site-scraper asks for a quick or extended setup, then collects the relevant crawl depth, image strategy and identity or rendering mode.
Scripted crawl
Pass any option to skip the prompts. This makes commands predictable in scripts and CI:
site-scraper https://www.example.com \
--max-depth 2 \
--placeholder real
The command follows internal links to depth 2, downloads original images, and writes the result
below output/www.example.com/.
Inspect the result
Open output/<domain>/index.html in a browser. URL paths become directories and files, while
downloaded asset references are rewritten to work locally.
Next, compare the crawl modes or review the complete CLI reference.