OPEN SOURCE · MIT · PYTHON 3.10+ · v0.3.0
falseok

Catch the 200 OK that isn't.

Your scraper didn't fail. It succeeded at saving a captcha.

falseok reads the page you just downloaded and tells you whether it is the page you asked for. It recognises blocks. It never tries to get around them.

$ pip install falseok
48,523pages checked by Benchmarked tools, so farupdated 5 Dec 2026
3.2%wrong verdictsThe next best tool: 9.9%. That is 3.1× fewer.
97.4%anti-bot blocks caughtChallenges, captchas and soft blocks, on pages in 38 languages.
73.1%unusable "200 OK" pages caughtThe pages a status check calls a success.
1.59 msper pagePure Python, zero dependencies.
982 fresh pages no version was tuned on, 12 tools. Where it loses: it flagged 0.5% of real pages; five tools flagged none.
THE PROBLEM

The status says 200. The page says something else.

A blocked request rarely looks like a failure. The server answers 200 OK, your code saves the page, and the run reports success. You find out days later, in the data.

GET /product/8841200 OK
falseok → challenge
A blockAn anti-bot check or a captcha, served as a normal page. Your parser finds no product, so it saves nothing, or saves the captcha.
GET /product/8841200 OK
Sign in to continue
falseok → login_wall
A login wallYou asked for an item and got the sign-in form. The address may not even change.
GET /product/8841200 OK
falseok → empty_shell
An empty shellA menu and a footer with nothing between them: the content never arrived.
THE BENCHMARK

Twelve tools, the same fresh pages.

982 pages drawn at random from 40,432 fresh pages on 30,066 sites, in 38 languages. No rule of any falseok version was written or tuned on them. The other tools stay unnamed here; the benchmark on GitHub says what each one is built to catch.

WRONG VERDICTS · 12 TOOLS · 982 FRESH PAGES
falseok 3.2% · next best 9.9%
falseok11 other tools, same pages% of verdicts that were wrong · shorter is better · hover a bar
ToolWrong verdictsBlocks caughtUnusable "200 OK" caughtReal pages flaggedms per page
falseok3.2%97.4%73.1%0.5%1.59
BUILT FOR THE SAME JOB
a Rust scraper's anti-bot classifier16.8%94.9%33.7%0.2%1.68
the blocked-page detector of a popular Python crawler16.8%94.9%33.7%0.2%3.15
a new Python response classifier23.5%65.0%20.2%0.3%49.5
the most used anti-bot detector, JavaScript25.3%63.2%3.8%0.0%2.21
a Rust challenge detector39.6%64.1%14.4%25.9%0.17
RULES INSIDE SCRAPING FRAMEWORKS
the ban rule of the most used proxy-rotation add-on9.9%96.6%6.7%0.0%0.12
the blocked-request rule of a major crawling framework21.9%94.0%0.0%0.0%22.7
the challenge checks of the most used Cloudflare library33.2%0.0%0.0%0.0%0.02
ONE-LINE CHECKS
status-code check (4xx/5xx = bad)10.6%95.7%0.0%0.0%<0.01
page-size check (under 10 KB = bad)14.6%92.3%42.3%1.5%<0.01
keyword search (captcha, blocked, access denied…)63.6%83.8%51.0%77.3%2.89
Where falseok loses: real pages flaggedIt flagged 3 of 656 real pages (0.5%). Five tools flagged none. The 3 were short real pages called empty; none was called an anti-bot block. The tools with zero false alarms judge little more than the status code, and catch 0 to 7 of the 104 unusable pages that came back without an error status; falseok caught 76.
What it missed3 of the 117 anti-bot blocks, all served with status 200. Labels come from three independent reviewers; the 144 hardest pages were re-checked by hand.
SpeedAbout 1.4 times faster than the most used JavaScript detector. One-line checks are faster still, because they read almost nothing: a status code, a length.
WHAT ELSE IT DOES

More than a block detector.

92.4%
Page not found
4,910 of 5,315 made-up addresses on real sites, including 173 of the 232 that answered 200 OK.
57 of 68
Empty shells
Pages that loaded a menu and a footer and nothing else.
4
Response headers
Anti-bot services whose own block marker it reads from the headers, and names the vendor.
44
Languages
"Page not found" and "access denied" as sites really write them, each phrase from a page that came back.
1,020 of 1,020
Broken dataset days
Lost rows, emptied fields, frozen values, duplicates. Quiet on 200 of 200 healthy days.
VERSION BY VERSION

Each release, measured on the same pages.

3 versions on the same fresh pages: 982 labelled pages and 5,315 made-up addresses. Version 0.3 is the one in the benchmark above.

Milliseconds per page

shorter is better

0.115.4 ms
0.22.15 ms
0.31.68 ms

Made-up addresses answering 200, caught

of 5,315 made-up addresses on real sites

0.164.2%
0.269.8%
0.374.6%

Everyday pages right

on the 982 labelled pages

0.196.4%
0.296.7%
0.396.8%
0.1UNRELEASED
The first build: one verdict per page, and a check for whole datasets.
  • Eleven page verdicts, from challenge and captcha to login wall and empty shell; names the anti-bot vendor when the page shows it.
  • Dataset check: dropped rows, missing or emptied fields, type changes, duplicates, block-page text saved as values.
  • Reads JSON, JSON Lines, CSV and gzip; the server's character set decides, so pages in Russian or Japanese are not read as garbage.
  • "Page not found" in about 35 languages, each phrase from a page that really came back.
  • Standard library only, Python 3.10+.
15.4 ms a page64.2% made-up caught
0.24 DEC 2026
Faster, reads the response headers, speaks 44 languages.
  • Under 2 ms a page: about 1.3 times faster than the most used JavaScript anti-bot detector.
  • Response headers as input: reads the anti-bot service's own block marker and names the vendor.
  • "Page not found" and "access denied" wording in 44 languages.
  • Error 500 to 504 pages served with status 200, and pages that only say "Loading...", are caught.
  • The first public benchmark: 12 tools on the same fresh pages.
2.15 ms a page69.8% made-up caught
0.35 DEC 2026 · LATEST
Knows where the request ended up, and says what to do next.
  • Addresses as input: a redirect to a sign-in, consent, error or captcha page is a signal.
  • What to do next on every page: keep, retry, back off, render JavaScript or drop, with a confidence level.
  • Many pages on every CPU core: 2,000 files 3.6 times faster, same results and order.
  • Your own rules: add rules or switch built-in ones off without editing the rules file.
  • Page facts: content kind, canonical address, meta refresh target, script count.
1.68 ms a page74.6% made-up caught · 3.6× on all cores
0.4IN THE WORKS
What comes next.
  • A verdict you can call sure A confidence level you can act on without a second look, and an honest "not sure" for the rest.
  • Faster Less time per page, so it stays noise next to the download.
  • falseok for JavaScript The same rules and the same verdicts on npm, for scrapers that are not written in Python.
  • A badge and a one-page report A README badge and a one-page HTML report of a run, to send to a client or keep next to the data.
Numbers when measured on fresh pages.
USE IT

Three lines.

Works with whatever fetches your pages: it only needs the bytes you got back. Pass the status, the headers and the address when you have them, and it gets sharper.

pure Pythonzero dependenciesPython 3.10+MIT
$ pip install falseok
$ falseok page product.html --status 200
$ falseok data today.json --vs yesterday.json
It detects. It never bypasses.
Free and open source, so anyone can check the referee.