Work With Protected Targets¶
Goal: tune a job for targets that block default HTTP clients or standard browser automation.
ScrapeNest's Stealth tier combines a hardened browser profile, fingerprint controls, helper extensions, and managed proxy routing. Most tuning comes down to tier selection, visitor profile, timing, and diagnostics. See Anti-Blocking for the underlying controls.
Escalate the tier first¶
Pick the lowest tier that works - it's the cheapest and fastest:
light- try first for APIs and static pages.standard- when the site needs JavaScript rendering.stealth- when you hit blocks, challenges, orstealth_blockedfailures.
Minimal stealth example¶
Tuning checklist¶
Match the target's audience - set an OS profile, locale, and timezone consistent with the expected visitor:
client.scrape(
job_type="stealth",
target_url="https://protected.example.com",
os_name="windows",
locale="fr-FR",
timezone_id="Europe/Paris",
)
Block noisy resources - fewer requests means a smaller detection surface and faster loads:
Handle overlays - the isdcac extension handles many consent banners; for the rest, add an action:
Give it time - protected sites often run interstitial challenges. Allow a longer wait:
Built-in controls¶
- Managed proxy rotation across residential and datacenter IPs.
- Browser fingerprint controls - Canvas, WebGL, AudioContext, WebRTC.
- TLS/HTTP impersonation so handshakes match modern browser traffic.
- Session stickiness so all requests in a job share one IP.
To route through your own proxy instead of the managed pool, pass a proxy object (Stealth tier). ScrapeNest chains egress through your proxy rather than bypassing Proxy Guard. See Custom egress.
When a job still fails¶
A blocked job ends with status="failed" and failure_reason="stealth_blocked". Then:
- Confirm you're on
stealth, notstandard. - Vary
os_nameand addwait_until="networkidle"with a highertimeout. - Inspect the job manifest (and HAR/console if enabled) for the block reason - see Observability.
- Pace your requests; bursts against one domain invite blocks. See Rate Limits.
See also¶
- Anti-Blocking - Proxy Guard and the Stealth engine.
- Worker Tiers - what each tier defends against.
- Errors & Retries - handling
stealth_blocked.