--output-type
- CLI
- --output-type, -t
- REST
- output_type
Sets the format of the output, overriding the format a --file-name extension implies. Without either, the output is png, goal under --navigate, and wacz under --crawl-links or --crawl-url-is-sitemap.
Example
zshot --output-type warc https://zshot-cli.com{
"url": "https://zshot-cli.com",
"output_type": "warc"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com","output_type":"warc"}' \
-o archive.warc