A scraper bot fetches pages in bulk to extract their content: prices, listings, inventory, text. AI crawlers are the newer variant, harvesting pages to train models or to answer live queries. The mechanics are simple, a client that requests pages faster and more systematically than a person, skips the images and scripts a browser would load, and works through a site in URL order. The hard part was never the fetching. It is deciding which automated readers you want, because some of them send you your customers.
Anatomy of a scrape
A browser fetching a product page pulls the HTML, stylesheets, scripts, fonts, and images, then executes code. A basic scraper pulls the HTML and moves on, which is its loudest tell: page requests with no asset requests, in catalogue order, at machine intervals. Serious operations close that gap with headless browsers that load everything and behave closer to a person, at higher cost per page. Cloudflare's bot documentation describes the identification stack from the defender's side: verified bots are confirmed by reverse DNS against the operator's domains, so a crawler claiming to be a search engine can be checked rather than believed, and everything else gets scored, with bot scores from 1 to 99 expressing how likely a request is automated.
The line you actually have to draw
Not all scraping is theft. Search engines index you, price comparison sends some stores their best customers, researchers and accessibility tools read pages on people's behalf, and your own partners poll your feeds. OWASP's bot guidance opens with this concession: the objective is not to block all bots, because legitimate automated traffic exists, but to raise the cost of the abusive kind. The abusive kind is specific: competitors re-pricing against you in real time, content farms republishing your catalogue, ticket and retail inventory watchers feeding scalping operations, and AI training crawls that take the content and return no traffic. Each deserves a different answer, and a single block rule gives all of them the same one.
Where the defenses fall short
Robots.txt is a request, not a fence; it binds only crawlers that choose to honor it, and AI crawlers have made that limitation famous by ignoring or selectively reading it. Rate limiting raises cost but a patient scraper with residential proxies spreads load until it looks like weather. The legal layer is thinner than people hope: courts have narrowed what unauthorized access means for public pages, so a public price is hard to fence with law alone. What works is layered and economic: serve suspected scrapers slowly, protect the endpoints that matter (search, pricing APIs, inventory) harder than the brochure pages, and use the same load discipline as a traffic spike, because a heavy scrape and a flash crowd stress the same pipes. You will not stop the determined ones. You can make your catalogue the expensive one to copy.
Frequently asked questions
How can we tell a scraper from a customer?
Look for the pattern, not one request: pages fetched without their assets, catalogue-order traversal, steady machine timing, datacenter origins, and a user agent whose reverse DNS does not match the operator it claims. Cloudflare verifies known good bots by reverse DNS, which is the check that separates a real search crawler from a scraper wearing its name.
Does robots.txt stop AI crawlers?
It stops the ones that comply. Robots.txt is voluntary, so it functions as a declaration of your terms and a filter for well-behaved operators. Enforcement against the rest has to come from bot scoring, rate limits, and access controls on the server side.
Should we block all AI crawlers?
That depends on whether AI answers send you buyers. Blocking training crawls protects content; blocking the crawlers behind AI search and shopping assistants can remove you from the answers customers read. Many sites now split the decision: training blocked, retrieval allowed, each verified rather than trusted by user agent.
Is scraping our public prices illegal?
Often not clearly, in the US at least, where court decisions have narrowed unauthorized-access claims over public web pages. Terms of service and technical controls carry more practical weight than legal threats, which is why the defense is mostly architectural.