# Archive

Source: https://zshot-cli.com/reference/flags/archive/
Markdown: https://zshot-cli.com/reference/flags/archive/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/)

## Flags

| Flag | Description |
| --- | --- |
| [`--archive-body-size-limit`](https://zshot-cli.com/reference/flags/archive/archive-body-size-limit/) | Maximum per-resource body size captured into an archive (Standard) |
| [`--archive-cdx`](https://zshot-cli.com/reference/flags/archive/archive-cdx/) | Path to write a CDXJ index of the WARC's records (Standard) |
| [`--archive-spill-max-bytes`](https://zshot-cli.com/reference/flags/archive/archive-spill-max-bytes/) | Cap the total bytes a crawl or sitemap walk spills to disk (Pro) |
| [`--crawl-allow-url`](https://zshot-cli.com/reference/flags/archive/crawl-allow-url/) | Re-permit a URL that a --crawl-deny-url glob blocked (Pro) |
| [`--crawl-concurrency`](https://zshot-cli.com/reference/flags/archive/crawl-concurrency/) | Browsers a crawl or sitemap walk loads pages in at once (Pro) |
| [`--crawl-delay`](https://zshot-cli.com/reference/flags/archive/crawl-delay/) | Least time in seconds between page loads on one host (Pro) |
| [`--crawl-deny-url`](https://zshot-cli.com/reference/flags/archive/crawl-deny-url/) | Skip URLs matching this glob during a sitemap walk or link crawl (Pro) |
| [`--crawl-link-depth`](https://zshot-cli.com/reference/flags/archive/crawl-link-depth/) | Hops to follow from the seed when crawling links (Pro) |
| [`--crawl-link-selector`](https://zshot-cli.com/reference/flags/archive/crawl-link-selector/) | Additional CSS selector for crawlable links (Pro) |
| [`--crawl-links`](https://zshot-cli.com/reference/flags/archive/crawl-links/) | Crawl links discovered on each captured page into the same WARC (Pro) |
| [`--crawl-max-links`](https://zshot-cli.com/reference/flags/archive/crawl-max-links/) | Cap on total pages fetched by a crawl or sitemap walk (Pro) |
| [`--crawl-media-sources`](https://zshot-cli.com/reference/flags/archive/crawl-media-sources/) | Fetch <audio>/<video> source URLs on each walked page so deferred media is archived (Pro) |
| [`--crawl-page-timeout`](https://zshot-cli.com/reference/flags/archive/crawl-page-timeout/) | Per-page capture budget in seconds for WARC output (Pro) |
| [`--crawl-sitemap-max-depth`](https://zshot-cli.com/reference/flags/archive/crawl-sitemap-max-depth/) | Levels of <sitemapindex> to follow when capturing a sitemap (Pro) |
| [`--crawl-url-is-sitemap`](https://zshot-cli.com/reference/flags/archive/crawl-url-is-sitemap/) | Treat the target as a manifest of URLs to capture into one WARC (Pro) |
| [`--har`](https://zshot-cli.com/reference/flags/archive/har/) | Path to write a diagnostic HAR (HTTP Archive) file (Standard) |
| [`--har-capture-bodies`](https://zshot-cli.com/reference/flags/archive/har-capture-bodies/) | HAR will contain response bodies (Standard) |
| [`--har-captures-navigation`](https://zshot-cli.com/reference/flags/archive/har-captures-navigation/) | HAR will contain navigator session (Pro) |
| [`--warc`](https://zshot-cli.com/reference/flags/archive/warc/) | Path to write a WARC for this request (Standard) |
| [`--warc-captures-navigation`](https://zshot-cli.com/reference/flags/archive/warc-captures-navigation/) | WARC will contain navigator session (Standard) |
| [`--warc-no-gzip`](https://zshot-cli.com/reference/flags/archive/warc-no-gzip/) | Disable gzip compression for output WARC (Standard) |

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - **Archive**
      - [--archive-body-size-limit](https://zshot-cli.com/reference/flags/archive/archive-body-size-limit/)
      - [--archive-cdx](https://zshot-cli.com/reference/flags/archive/archive-cdx/)
      - [--archive-spill-max-bytes](https://zshot-cli.com/reference/flags/archive/archive-spill-max-bytes/)
      - [--crawl-allow-url](https://zshot-cli.com/reference/flags/archive/crawl-allow-url/)
      - [--crawl-concurrency](https://zshot-cli.com/reference/flags/archive/crawl-concurrency/)
      - [--crawl-delay](https://zshot-cli.com/reference/flags/archive/crawl-delay/)
      - [--crawl-deny-url](https://zshot-cli.com/reference/flags/archive/crawl-deny-url/)
      - [--crawl-link-depth](https://zshot-cli.com/reference/flags/archive/crawl-link-depth/)
      - [--crawl-link-selector](https://zshot-cli.com/reference/flags/archive/crawl-link-selector/)
      - [--crawl-links](https://zshot-cli.com/reference/flags/archive/crawl-links/)
      - [--crawl-max-links](https://zshot-cli.com/reference/flags/archive/crawl-max-links/)
      - [--crawl-media-sources](https://zshot-cli.com/reference/flags/archive/crawl-media-sources/)
      - [--crawl-page-timeout](https://zshot-cli.com/reference/flags/archive/crawl-page-timeout/)
      - [--crawl-sitemap-max-depth](https://zshot-cli.com/reference/flags/archive/crawl-sitemap-max-depth/)
      - [--crawl-url-is-sitemap](https://zshot-cli.com/reference/flags/archive/crawl-url-is-sitemap/)
      - [--har](https://zshot-cli.com/reference/flags/archive/har/)
      - [--har-capture-bodies](https://zshot-cli.com/reference/flags/archive/har-capture-bodies/)
      - [--har-captures-navigation](https://zshot-cli.com/reference/flags/archive/har-captures-navigation/)
      - [--warc](https://zshot-cli.com/reference/flags/archive/warc/)
      - [--warc-captures-navigation](https://zshot-cli.com/reference/flags/archive/warc-captures-navigation/)
      - [--warc-no-gzip](https://zshot-cli.com/reference/flags/archive/warc-no-gzip/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

