--crawl-sitemap-max-depth
- CLI
- --crawl-sitemap-max-depth
Sets how many levels of <sitemapindex> a sitemap walk follows.
Example
zshot -f house-at-pooh-corner.wacz \
--crawl-sitemap-max-depth 2 \
https://zshot-cli.com/example_assets/house-at-pooh-corner/sitemap.xml{
"url": "https://zshot-cli.com/example_assets/house-at-pooh-corner/sitemap.xml",
"output_type": "wacz",
"crawl_sitemap_max_depth": 2
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/house-at-pooh-corner/sitemap.xml","output_type":"wacz","crawl_sitemap_max_depth":2}' \
-o house-at-pooh-corner.wacz