zshot/cliDownload

--warc

ValuePATH
LicenseSTD

Write a WARC web archive alongside another output. Takes a path:

zshot --output-type png --warc page.warc.gz https://zshot-cli.com -f page.png

The archive is gzip-compressed by default; pass --warc-no-gzip for plain WARC. To emit a WARC as the primary output on its own, use --output-type warc.

This is a Standard-tier flag.

On the HTTP server, request this as with_warc=true instead of a path. The server writes the WARC to a temporary location and returns its URL in a Link response header. See the API reference for reading those links and --server-additional-asset-expiration for how long they live.