Skip to main content
Use this guide when user code needs internet access, but you still need strict control over which destinations can be reached.

Diagram: Policy-enforced scraping flow

Start with filtered mode

Enable only approved hosts first, then run scraping logic.
In filtered mode, blacklist rules take precedence over whitelist rules.

Pattern 1: approved API fetch

Pattern 2: graceful handling for blocked hosts

Pattern 3: scraping HTML with packages

For richer parsing, install parser libraries:

Authenticated API calls with secrets

When scraping private APIs, inject credentials using secrets.
Secret masking applies to stdout/stderr text. If script writes secrets to files, those file contents are not auto-redacted.

Observe network behavior during scraping

Enable network request logs for filtered runs:
In non-stream mode, CLI prints collected network log entries when available.

Remote scraping workers

For centralized scraping infrastructure, run remote server and use RemoteIsol8.

Safer scraping design patterns

  • whitelist exact hostnames instead of broad wildcards
  • keep timeouts short for external requests
  • parse to structured output (JSON) rather than raw HTML dumps
  • separate fetch and parse stages to isolate failures
  • pre-bake stable dependencies to avoid per-run install overhead

Security model

Understand filtered mode enforcement and seccomp boundaries.

Remote server and client

Run scraping workloads with centralized session/policy management.

Execution guide

Execution request fields, streaming, and output behavior.

Option mapping

Exact CLI/config/API/library mapping for network and runtime options.