Web Crawl
Points at a URL and ingests the pages it finds. The crawl root may be a whole
site or a deep subpath (https://example.com/recipes with
--allowed-paths /recipes crawls only that branch).
Shape: config-only — there is no secret, so this connector is fully
manageable from the CLI. Provider id: web_crawl.
Start a crawl
Section titled “Start a crawl”# Crawl a site into a vector (follows sitemap.xml by default)divinci connectors web-crawl https://docs.example.com --vector <vectorId>
# Re-crawl daily, and swap through a draft vector (see below)divinci connectors web-crawl https://docs.example.com \ --vector <vectorId> --recurring --swap
# Treat the URL as a sitemap/feed instead of a crawl rootdivinci connectors web-crawl https://docs.example.com/sitemap-0.xml \ --vector <vectorId> --feed
# Scope and shape the crawldivinci connectors web-crawl https://example.com \ --vector <vectorId> --limit 200 \ --allowed-paths /docs,/blog --exclude-paths /docs/archive \ --subdomains --product-catalogRe-running the command for the same site updates the stored connector (settings are persisted), so it is also how you correct a recurring connector's configuration.
Options
Section titled “Options”| Flag | Default | What it does |
| --- | --- | --- |
| --vector <id> | — | Target RAG vector |
| --limit <n> | 80 | Max pages |
| --feed | off | Treat the URL as a sitemap / URL feed, not a crawl root |
| --feed-format <fmt> | sitemap | sitemap | url-list | json (with --feed) |
| --no-sitemap | — | Don't follow sitemap.xml during the crawl |
| --subdomains | off | Also crawl sub-domains of the root's domain |
| --product-catalog | off | Build a product catalog from schema.org Product data |
| --recurring | off | Re-crawl on a schedule |
| --cadence <minutes> | 1440 | Recurrence cadence (15-minute floor) |
| --swap | off | Crawl into a draft vector, swap the live release on success |
| --allowed-paths <prefixes> | — | Comma-separated path prefixes to restrict to |
| --exclude-paths <prefixes> | — | Comma-separated path prefixes to skip |
Member-gated content
Section titled “Member-gated content”A site that serves only a teaser to anonymous requests can be crawled with
per-connector scrape authentication (a stored Cookie header, or credentials).
Those fields are encrypted at rest and decrypted only at run time. Configure
them on the Connectors page or through the API — a cookie session expires, so
plan to refresh it.
Sync and re-run
Section titled “Sync and re-run”Web crawl is one of the two providers that can be re-run headlessly:
divinci connectors sync <connectionId> # run nowdivinci connectors sync-status <connectionId> # last 10 jobsSee also
Section titled “See also”- Managing connections
- WordPress — for a WordPress site, prefer the REST connector over crawling it.
divinci rag crawl— a one-shot crawl with no recurring connector behind it.