--archive-spill-max-bytes
- CLI
- --archive-spill-max-bytes
Caps the total bytes a link crawl or sitemap walk writes to disk. On reaching the cap the walk stops and exits successfully with what it captured.
Example
zshot -f winnie-the-pooh.wacz \
--crawl-links \
--archive-spill-max-bytes 1073741824 \
https://zshot-cli.com/example_assets/winnie-the-pooh/{
"url": "https://zshot-cli.com/example_assets/winnie-the-pooh/",
"output_type": "wacz",
"crawl_links": true,
"archive_spill_max_bytes": 1073741824
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/winnie-the-pooh/","output_type":"wacz","crawl_links":true,"archive_spill_max_bytes":1073741824}' \
-o winnie-the-pooh.wacz