Skip to content

Point your scraper here and check its homework.

Every test on this site has an answer key: a JSON file that lists exactly what a correct scraper should come back with. Run Netweir, Scrapy, Playwright, Crawlee, Firecrawl or something you wrote last night, then diff your output against the key. No guessing whether "about 500 products" was right.

The data is fixed. It comes from a seeded generator, so the catalogue you scrape today is the one you'll scrape next month, until the data version changes. You're on 1.0.0; it's in every answer key and at the foot of every page.

Bots are welcome. There are no challenges, no CAPTCHAs, no fingerprinting. The one thing standing between you and the site is a generous abuse limit at the edge, set well above anything a test needs. Keep to the published rules and you'll never meet it. One thing we can't switch off: Cloudflare, which hosts the site, refuses Python's urllib and Perl's libwww-perl when they send their default User-Agent, with a 403 and "error code: 1010". Set a User-Agent of your own and you're in. tests.json lists every test for your harness.

Shop & pagination

Plain HTML, nothing clever, and still the place most scrapers lose records: pages they never reach, products they count twice.

Test What it tests Difficulty Needs Answer key
The catalogue Categories, subcategories, numbered pages and next links, full product pages with JSON-LD, and the traps real shops set: tracking parameters, missing trailing slashes, products listed twice, items out of stock. Medium HTTP only JSON

JavaScript pages

The data isn't in the HTML. Fetch these pages without a browser and you get an empty shell, which is the honest result.

Test What it tests Difficulty Needs Answer key
Infinite scroll Ninety-six items arrive twelve at a time as you scroll. Stop scrolling early and you miss some. Medium Needs JS JSON
Load more button Sixty items behind a button that has to be clicked five times, waiting each time for the new rows. Medium Needs JS JSON
Data from a JSON API An empty table the page fills from a JSON request after load. Render it, or find the API. Easy Needs JS JSON
Shadow DOM Reviews inside an open shadow root. document.querySelector can't see them; your selectors have to pierce it. Hard Needs JS JSON
Same-origin iframe A store list that lives in an iframe, rendered by script inside the frame. Medium Needs JS JSON
Client-rendered app A single-page app that changes the URL with pushState. Every item has its own address, and none of them exists as HTML. Hard Needs JS JSON
Lazy-loaded images Forty pictures that show a placeholder until they scroll into view. The real address only appears then. Medium Needs JS JSON

Hidden data

The records are in the page, or one request away, but not where the visible HTML puts them: a JSON script tag, a GraphQL call, an API that wants a token.

Test What it tests Difficulty Needs Answer key
JSON in a script tag Twenty product pages that show a name and "Price loading…". The price, stock and variants sit in a JSON script tag the visible HTML never repeats. Easy HTTP only JSON
GraphQL reviews Fifty reviews from a GraphQL-style POST, ten at a time, with cursors. Render the page, or replay the request and follow endCursor. Hard Needs JS JSON
API token in the page A table filled from an API that answers 403 unless you send the token an inline script on the page sets. Medium Needs JS JSON

Bad days

What the web does to a crawl at 3 a.m.: limits, delays, errors that clear on retry, redirects that never end, and a redesign overnight.

Test What it tests Difficulty Needs Answer key
Rate limit Twenty-one pages that answer 429 with Retry-After once you pass twelve requests in a ten-second window. Medium HTTP only JSON
Slow pages Pages that take one, three and ten seconds to answer. A short timeout loses the slow one. Easy HTTP only JSON
Pages that fail once Every fourth item answers 503 the first time you ask, then works. One page always fails. Medium HTTP only JSON
Redirects A 301, 302, 307, 308 chain, a loop that never ends, and a meta refresh. Easy HTTP only JSON
Soft 404s Ten product links. Three answer 200 but say the product is gone; one is a real 404. Medium HTTP only JSON
Redesign switch The same fifty products in two layouts with every class renamed, plus a crossed-out price and a shipping charge to lure the wrong number. Hard HTTP only JSON

Forms & logins

Cookies, tokens and state. No database behind any of it; every session is a signed cookie.

Test What it tests Difficulty Needs Answer key
Login and members area Log in with the credentials on the page, keep the session cookie, and read three members-only pages that bounce you to the login without it. Medium Needs cookies JSON
CSRF token A form whose hidden token must come back with the cookie it was issued with. Replay it wrong and you get a 403. Medium Needs cookies JSON
Search form A GET search with paged results. Build the query string and follow the pages. Easy HTTP only JSON
Multi-step form Three steps, each a POST, carrying state in a signed cookie, ending in a reference code you can check. Hard Needs cookies JSON
Postback dropdowns Category, then subcategory, then results, each step a POST of the whole form with a signed __STATE field you must send back untouched. Hard HTTP only JSON

Access

Passwords, headers, cookies and pages that pretend. Every rule is published; nothing here tries to tell people from programs.

Test What it tests Difficulty Needs Answer key
HTTP authentication Basic auth with a 401 challenge, a bearer token, and a third area that answers 404 until you send credentials it never asks for. Medium HTTP only JSON
Referer check Twelve item pages that redirect you away unless the Referer header says you came from the listing. Easy HTTP only JSON
Consent wall Articles that redirect to a consent form until you post it and keep the cookie, and a page whose text sits under a cookie banner. Medium Needs cookies JSON
Soft blocks Twenty item pages. Four answer 200 with a "verify you are human" page instead of the item. Count them as missing. Medium HTTP only JSON
File downloads A CSV and a PDF sent as attachments with filename*, a report you get by posting a form, and a JSON file. Check names, sizes and hashes. Medium HTTP only JSON

Crawling

Finding the pages at all: links that aren't links, URLs that never run out, robots hints and sitemaps that know more than the menus.

Test What it tests Difficulty Needs Answer key
Crawler traps Twelve articles, a session ID that mints ten new URLs on every page, and a calendar whose next link never runs out. Hard HTTP only JSON
Hidden links Five pages, each reachable one way only: a script-added link, JSON-LD, a clickable div, a Link header and a <base href>. Hard Needs JS JSON
Robots meta and headers Eight pages marked noindex and nofollow in meta tags, X-Robots-Tag headers and rel="nofollow" links. Index the right ones; follow the right links. Medium HTTP only JSON
Sitemap index A sitemap index with a plain child and a gzipped one, thirty pages between them, ten of which nothing links to. Medium HTTP only JSON

Messy content

All the data is on the page. Getting it out clean means decoding bytes, reading locales, untangling tables and ignoring characters you can't see.

Test What it tests Difficulty Needs Answer key
Character encodings Three pages where the bytes, the Content-Type header and the meta tag disagree about the encoding. Get the pound signs and curly quotes right. Hard HTTP only JSON
Mixed formats Thirty rows with prices in four locales, ratings only in CSS classes, stock only in words and dates six ways. Medium HTTP only JSON
Awkward tables A timetable with rowspan, colspan, repeated header rows and a total row, and a second table built from divs. Medium HTTP only JSON
Invisible characters Names and prices full of zero-width characters, soft hyphens and non-breaking spaces, with a hidden decoy digit inside each price. Medium HTTP only JSON
Microdata and RDFa Twenty products whose visible text is rounded and cut short. The exact values are in schema.org microdata and RDFa. Medium HTTP only JSON
The final boss A thousand pages in one go: 900 scraps of broken markup, 46 real pages, 44 in the wrong or a lying encoding, and ten giants of 13 to 28 MB. Parse every one without falling over, and count what you built. Hard HTTP only JSON

Manners

One check that has nothing to do with extraction.

Test What it tests Difficulty Needs Answer key
robots.txt A linked area that robots.txt disallows. A polite scraper fetches none of it. Easy HTTP only JSON

Data version 1.0.0. Everything here is made up: products, brands, people, towns. tests.json · robots.txt