Diagram: Policy-enforced scraping flow
Start with filtered mode
Enable only approved hosts first, then run scraping logic.- Library
- CLI
- API
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 usingsecrets.
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:Remote scraping workers
For centralized scraping infrastructure, run remote server and useRemoteIsol8.
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
Related pages
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.