NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Web scraping

Why a site thinks you are a bot, and what to change

Sites rarely decide on one clue. They add up small signals from the network, the browser and your behavior, and a score above their line earns a challenge or a block. Knowing the signals tells you where to look.

Detection is a score, not a switch

Modern bot management collects dozens of weak signals and combines them into a risk score. No single one proves automation; plenty of real visitors use a VPN, an old browser or a script blocker. But each oddity nudges the score up, and when several line up, the site responds: a CAPTCHA, a full-page check, slower responses or a refusal. That is why fixing one thing sometimes helps and sometimes changes nothing. You have to find the signals that are adding up in your case.

The signals fall into four layers: the network your request comes from, the way your client speaks HTTP and TLS, what the browser reports about itself, and how the session behaves over time. Work through them in that order, because the lower layers are checked before any page script runs.

The network layer

Address reputation

Before reading a single header, a site knows your address and the network that owns it. IP reputation services score addresses by history: spam reports, attack traffic, and simply belonging to a hosting provider's range. Requests from a cloud server start with a worse score than the same requests from a home connection, regardless of how good the rest of your setup is.

Fix: route traffic through addresses whose network fits the site's normal audience, usually residential or mobile for consumer sites. Keep the address stable within a session.

Geography that does not fit

An address in one country with a browser language and time zone from another is unusual. So is an address that jumps continents between requests. Fix: pick the exit location deliberately and set the browser's locale and time zone to match it.

The protocol layer

Every HTTPS connection opens with a TLS handshake that lists ciphers, extensions and their order. Browsers produce a recognizable pattern; Python's default HTTP stack, Go's standard library and curl each produce their own. Sites hash that pattern, a technique known from the JA3 fingerprint, and compare it with the user agent. A request that claims to be Chrome but shakes hands like a Python library is caught before the server even parses the path.

HTTP/2 adds another layer: the settings frame, header order and pseudo-header order differ between clients. Fix: either use a real browser, or use an HTTP client built to reproduce a browser's handshake, such as curl_cffi in Python. Then make sure the user agent you send names the same browser family whose handshake you reproduce.

The browser layer

Once a page loads, scripts can ask the browser about itself, and automation leaves marks.

  • The webdriver flag. Browsers driven by WebDriver or the DevTools protocol often expose navigator.webdriver as true. Many checks read it first.
  • Headless traces. Older headless modes reported HeadlessChrome in the user agent, lacked plugins and had unusual window sizes. Newer headless modes are much closer to the real thing, but headless browser detection still looks for leftovers.
  • Fingerprint consistency. Canvas and WebGL rendering, installed fonts, screen size, hardware concurrency and audio processing together form a browser fingerprint. Random values are worse than ordinary ones, because real devices are not random.
  • Header and hint mismatches. The user agent string, the client hint headers and navigator.platform should describe one device. A Windows string on a Linux engine, or a mobile string with a desktop screen, is a classic giveaway.

Fix: run a current browser build in its newer headless mode or headed under a virtual display, set one coherent identity (see changing the user agent in Selenium for how to align the hints), and leave the fingerprint alone rather than randomizing it.

The behavior layer

Even a perfect browser can behave like a robot. Behavior signals are collected over the session and are the hardest to fake, which is why they carry weight.

  • Timing. Requests at exact intervals, page views faster than anyone could read, or a form filled in 40 milliseconds.
  • Navigation shape. Arriving directly on deep URLs without a referrer, never loading images or stylesheets, never visiting a second page type.
  • Interaction. No mouse movement, no scrolling, clicks landing at the exact center of elements every time.
  • Volume. More pages per hour than a person could view, from one session.

Fix: slow down, add jitter, enter through the pages a visitor would use, and keep sessions short. For scraping public listings you do not need to simulate a person in detail; you need to stop looking like a firehose. The behavior profiling entry describes what these systems measure.

Cookies and history

Sites remember. A clean browser with no cookies is normal once, but a stream of brand-new sessions from the same address every few seconds is not. On the other side, a cookie that was issued to one address and suddenly appears from another looks like session theft. Fix: let each session keep its cookies for its lifetime, and retire the cookies together with the address.

How to find which signal is firing

Change one thing at a time and measure. A practical sequence:

  1. Load the page manually in a normal browser on the same network your scraper uses. If you are challenged there too, the problem is the address.
  2. Load it with your automated browser at a slow pace. If that passes, the problem is rate or behavior.
  3. Compare your client's TLS fingerprint and headers with a real browser's using a fingerprint echo page you trust. Differences point to the protocol layer.
  4. Check navigator.webdriver, the user agent, client hints and screen values from inside the automated page.

Screenshots of the failing page help a lot here; the guide to taking screenshots with Puppeteer includes a helper that saves one whenever extraction fails.

When a challenge is unavoidable

Some sites challenge every new visitor regardless of quality, especially on sign-up, login, checkout and search forms. In those cases the CAPTCHA is part of the page, not a verdict about you. A solving API handles it: send the site key and page URL as a task, get a token back, and submit it with the form. For score-based checks like reCAPTCHA v3, the answer quality also depends on sending the right pageAction, so read the site's own call before creating the task.

Keep the use legitimate: public data collection, monitoring, testing your own forms and accessibility tools. Detection systems exist partly to stop credential stuffing, fake accounts and spam, and those uses are off the table no matter how clean your fingerprint is.

Common questions

Does using a real browser guarantee I look human?

No. It fixes the protocol and many browser signals, but address reputation and behavior still count. A real browser at machine speed is still flagged.

Is randomizing my fingerprint a good idea?

Usually not. Random combinations of screen, fonts and graphics values are rarer than any real device, so they stand out more than a common, consistent profile.

Why do I get challenged on a cloud server but not at home?

Hosting provider ranges have poor reputation for consumer sites. The same code from a home connection starts with a much better score.

Can headers alone make a script look like a browser?

Not on protected sites. The TLS and HTTP/2 handshake reveal the client library before headers are read, so headers must be paired with a browser-like handshake.

What does a CAPTCHA tell me about my scraper?

It means the site wants proof but is still willing to serve you. Frequent CAPTCHAs suggest a signal is adding up; occasional ones are often just page policy.

Keep reading