SShortSingh.
Back to feed

How Modern Anti-Bot Systems Work and What It Takes to Scrape Past Them

0
·6 views

Popular websites protecting valuable data such as prices, listings, and inventory rely on layered bot-detection systems from vendors like Cloudflare, DataDome, and PerimeterX. These systems evaluate every request across multiple independent signals, including IP reputation, TLS and HTTP fingerprints, JavaScript sensor output, and behavioral patterns. A datacenter IP address and a non-browser network fingerprint are the primary reasons most scrapers get blocked, making header spoofing alone largely ineffective. Reliable scraping requires an escalation strategy: starting with a Chrome-impersonating HTTP request, upgrading to a stealth browser when needed, and rotating IPs once they are flagged. Even with these techniques, success is probabilistic, and the most protected sites require residential or mobile IP addresses to avoid detection.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Saga Pattern: How Microservices Maintain Data Consistency Without ACID Transactions

In microservices architecture, each service owns its own database, making cross-service ACID transactions impossible — a problem the Saga pattern is designed to solve. The Saga pattern breaks a workflow into a sequence of local transactions, where each step triggers the next via events, and any failure triggers compensating transactions to undo prior steps. Two main approaches exist: Choreography, where services react to each other's events in a decentralized manner, and Orchestration, where a central coordinator directs each service and tracks overall saga state. Choreography offers loose coupling and horizontal scalability, while Orchestration provides clearer audit trails and easier debugging at the cost of a potential single point of failure. Key trade-offs of the Saga pattern include eventual consistency between steps, complex compensating logic, and the requirement that every step be idempotent to handle retries safely.

0
ProgrammingDEV Community ·

MCP Servers May Become as Essential for AI Agents as REST APIs Were for Apps

A growing debate in the software industry questions whether Model Context Protocol (MCP) servers will eventually become a standard requirement for SaaS products, much like REST APIs did in the past. While REST APIs were designed for developers who can read documentation and chain requests, AI agents require structured, discoverable tool descriptions — something MCP is built to provide. Analysts and developers argue that MCP does not replace REST APIs but instead adds a new interface layer that makes existing APIs understandable to AI systems. As AI assistants like ChatGPT and Claude become embedded in everyday workflows, businesses face pressure to ensure their products are accessible to these agents without building separate integrations for every platform. Experts suggest that companies with existing OpenAPI specifications are already well-positioned to adopt MCP, though the technology may not yet be necessary for products with no AI-agent use case.

0
ProgrammingDEV Community ·

Building an Agent Eval Tool Reveals Why Scoring AI Agents Is Far Harder Than Models

A developer building AgentEval Forge, an open-source evaluation lab for AI agents, found that agent evaluation is fundamentally different from standard model evaluation. While model evaluation focuses on whether an output is correct, agent evaluation must assess the entire decision-making process, including tool selection, retries, cost, and recovery behavior. An agent can produce an acceptable final answer while taking inefficient, risky, or wasteful steps along the way, meaning final-output scoring alone can mask serious problems. The developer argues that the path an agent takes matters as much as — or more than — the endpoint, since cost, safety, and trust are determined during execution, not just at the result. This insight emerged not from research papers but from the practical challenges encountered while designing scenario packs, trajectory scoring, and regression tracking for real agent workflows.

0
ProgrammingDEV Community ·

Developer Builds Real-Time Video Chess App to Restore the Human Side of the Game

A solo developer has launched Rovian, an open-beta chess platform that streams live webcam feeds of both players during a match, aiming to recreate the face-to-face tension of over-the-board play. The creator argues that existing platforms like Lichess and Chess.com, while technically strong, strip away the human element by reducing opponents to usernames and ratings. Rovian is built on Next.js with chess.js for game logic and runs Stockfish compiled to WebAssembly entirely client-side to keep server costs manageable. A key engineering challenge was synchronizing peer-to-peer video with server-authoritative game state, which the developer resolved by introducing a slight board-render buffer rather than delaying the video feed. The platform currently uses labeled training bots to fill empty matchmaking slots during off-peak hours, with the developer noting that peak activity occurs around 21:00 Istanbul time.