internal/

directory
v0.0.0-...-33f0207 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: MIT

Directories

Path Synopsis
Package agent exposes cloudscraper-go to AI agents as an MCP server: tools an LLM can call to fetch anti-bot–protected pages (as clean Markdown) and read their cookies.
Package agent exposes cloudscraper-go to AI agents as an MCP server: tools an LLM can call to fetch anti-bot–protected pages (as clean Markdown) and read their cookies.
Package crawl fetches many URLs concurrently with a bounded worker pool, per-host rate limiting, cancellation and backpressure.
Package crawl fetches many URLs concurrently with a bounded worker pool, per-host rate limiting, cancellation and backpressure.
Package fingerprint holds the browser profiles cloudscraper-go can impersonate: the uTLS ClientHello that shapes the TLS/JA3 fingerprint, plus the matching User-Agent and default request headers.
Package fingerprint holds the browser profiles cloudscraper-go can impersonate: the uTLS ClientHello that shapes the TLS/JA3 fingerprint, plus the matching User-Agent and default request headers.
Package retry provides an http.RoundTripper that transparently retries transient failures — network errors and configurable status codes — with exponential backoff and full jitter, honouring the Retry-After header and the request's context deadline/cancellation.
Package retry provides an http.RoundTripper that transparently retries transient failures — network errors and configurable status codes — with exponential backoff and full jitter, honouring the Retry-After header and the request's context deadline/cancellation.
Package server exposes cloudscraper-go over HTTP as a daemon that keeps solved sessions hot: each session id maps to its own long-lived fetcher (cookies stay warm across requests).
Package server exposes cloudscraper-go over HTTP as a daemon that keeps solved sessions hot: each session id maps to its own long-lived fetcher (cookies stay warm across requests).
Package transport implements an http.RoundTripper that performs the TLS handshake with a real browser's ClientHello (via uTLS), so the connection's JA3/JA4 fingerprint matches that browser instead of Go's default net/http fingerprint — which anti-bot systems (Cloudflare, Akamai) flag on sight.
Package transport implements an http.RoundTripper that performs the TLS handshake with a real browser's ClientHello (via uTLS), so the connection's JA3/JA4 fingerprint matches that browser instead of Go's default net/http fingerprint — which anti-bot systems (Cloudflare, Akamai) flag on sight.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL