--output-type
- CLI
- --output-type, -t
- REST
- output_type
Sets the format of the output, overriding the format a --file-name extension implies.
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