Menu

Detecting Bans and Soft Blocks in Scraping: Status Codes, CAPTCHAs and Decoy Content
📰

Detecting Bans and Soft Blocks in Scraping: Status Codes, CAPTCHAs and Decoy Content

DEV Community: python·IPYE·about 9 hours ago
#iDyRrLrX
#devtopython#devto#dev#exit#ipye
Long article (775 words) — no AI summary yet.
Reading 0:00
15s threshold

Disclosure up front: I run IPYE, a company that leases IP space. This is a practical how-to, and IPYE comes up where it helps, with a short call to action at the end.

The worst blocks are the ones you don't notice. A site that returns 403 is honest. A site that returns 200 with a CAPTCHA, an empty result list or deliberately wrong data quietly ruins your dataset. Detecting these soft blocks early, and tying them to the exit address and the rate that caused them, keeps your data correct and your IP range healthy. This guide covers practical detection for crawlers running on your own addresses, such as a range from IPYE . The examples use the documentation prefix 198.51.100.0/24 .

Hard signals

403 Forbidden: blocked by policy, often IP-based.

429 Too Many Requests: rate limit.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.