Docs/API reference

Implementation status

A source audit of available APIs, binding gaps and delivery limits. No fabricated coverage score.

Download .md
Developers3 min read5 sections
Source reference · Match your SDK version. Availability and known issues
In this guide

Inventory provenance

Version 1.0.0-alpha.3; base engine commit 36f5474dcc33675081c5aac6a262139953359551. The source snapshot is clean.

Source digest: c6a8188489c20e01602e981aedfc58ee2639985baaa1d8274e8dcf3a5be15b50. The JSON inventory includes individual file SHA-256 hashes. Generate a new snapshot when source changes.

Node: all exports from src/index.ts are enumerated with the TypeScript compiler. Python: __all__, wrapper definitions, reachable return/callback types and hook helpers are read without loading native binaries. Rust: rustdoc is the authority for modules, structs, traits and implementations.

SurfacePackage exportsDocumented symbolsDeclared members
node3434193
python3039204

Implemented source paths

These paths exist in source. Consult the recorded workload evidence separately; this inventory did not exercise every runtime path or certify production readiness.

  • DatasetJob URL-file processing, scoped records, validation, exact deduplication, JSONL/CSV shards, checkpoint resume, cancellation and reports.
  • Node custom error classes and native conversion; Node and Python session retry setters and cookie read/delete/clear; shared Page session manager. Python wrapper additions require a future package release.
  • Page inspection, supported CSS/basic XPath/text/regex selectors, Dataset extraction and small-result JSON/CSV/Parquet exports.
  • Rust HTTP connection reuse, per-host pacing, retry policy, middleware, metrics, sitemap discovery, crawl frontier and optional browser feature.

Known issues and restricted behavior

APIFinding
python:Crawl.depthThe wrapper calls native depth(), but PyCrawl exposes max_depth(). This method cannot currently be used through the public wrapper.
python:Crawl.webhookThe wrapper calls webhook(), which is not exported by PyCrawl. The Rust and Node APIs expose a webhook setting.
python:Crawl.scheduleThe wrapper calls schedule(), which is not exported by PyCrawl. Use an application scheduler around a supported operation.
python:Crawl.buildPyCrawl.build returns dictionaries, while this wrapper constructs DatasetResult objects expecting native result handles. Their to_dict/export calls can fail. Prefer DatasetJob for production file exports.
python:Page.before_parseThe callback runs after native parsing and its returned HTML is discarded. It does not modify the DOM.
python:ElementCollection.__iter__For a materialized collection (for example filter() output), this generator returns an iterator instead of yielding from it. Iteration/map can produce no items.
node:Crawl.scheduleA background native loop is started without a public cancellation/join handle. Use an external scheduler for controlled worker lifecycle.

Not exposed or not implemented

CapabilityCurrent boundary
Node auth/cache/metrics helpersThe public Node wrapper does not expose Python’s auth middleware helpers, response-cache setter or metrics snapshot. Set headers explicitly where appropriate.
Browser navigation on PageNo Node Page.navigate/reload/back/forward/close API. Use Playwright/Puppeteer and pass discovered URLs or rendered snapshots to a defined integration.
Universal SDK parityPython traversal and hook APIs differ from Node. Error conversion and crawl return types differ. Read the language-specific contract.
Distributed processingNo multi-host shared checkpoint writer or bundled durable task queue. Use one process per job directory.
Data quality beyond exact checksNo semantic deduplication or automatic correctness guarantee for heuristic selector recovery.
Performance promisesNo verified universal req/s, idle-memory or Scrapy/Playwright superiority claim.

Regenerate this reference

Commit the engine change and the corresponding website snapshot in their respective repositories. This generator reads declarations; behavior notes and known issues require review when implementation changes. The docs release gate rejects a dirty or stale snapshot.

cd sdk/nodejs
npm ci
cd ../..
# Requires Python 3 and the Node SDK TypeScript dev dependency.
node scripts/export-sdk-api.cjs crawlingo-docs/src/content/generated/sdk-api.json
cd crawlingo-docs
npm run lint
npm run export:guides -- ../docs
npm run build
shell9 lines · copy-ready