HAR
An HTTP Archive: a JSON log of every request the page made, with timings and headers. You can request a HAR alongside a render by using the --har flag.
Example
zshot -f archive.har https://zshot-cli.com/example_assets/zemu/index.html{
"url": "https://zshot-cli.com/example_assets/zemu/index.html",
"output_type": "har"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zemu/index.html","output_type":"har"}' \
-o archive.harzshot -f zemu.png \
--har archive.har \
https://zshot-cli.com/example_assets/zemu/index.html{
"url": "https://zshot-cli.com/example_assets/zemu/index.html",
"output_type": "png",
"with_har": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zemu/index.html","output_type":"png","with_har":true}' \
-D - -o zemu.png