zshot/cliDownload

--crawl-link-selector

ValueCSS
LicensePRO

Follow links matched by a CSS selector beyond the built-in a[href]. The matched elements’ href attribute is followed. Repeatable. Invalid selectors are rejected. The selector grammar follows the scraper crate and may lag the browser’s. Takes effect with --crawl-links.

Example

zshot -t warc -f site.warc.gz --crawl-links \
  --crawl-link-selector "link[rel=next]" https://example.com