Repository navigation
v0.4.0
The 0.3.0 audit (below) was static/external and found real bugs; this
release is what a series of ACTUAL runs against the live site, the
same week, found on top of it -- six further confirmed defects, none
of them visible from code review or the offline test suite alone.
Every item was independently reproduced against zimmo.be before being
fixed, and each has its own regression test in smoke_test.py.
Fixed
- Pagination silently did nothing.
page_url()built?p=N,
confirmed live in an earlier, unrelated MCP-tooling session against
the site at an earlier point in time. A live run against the CURRENT
site found?p=Nis ignored outright -- page 2 returned page 1's
own listings verbatim, which this project's own data-based
termination correctly (but wrongly, given the stale parameter) read
as "the listing is exhausted" after just one page, on every
multi-page run. The real parameter, found by inspecting the site's
own pagination link directly, ispage(?page=2). Every multi-page
run before this fix silently returned only page 1's own listings,
repeated, regardless of--pages. - The CSS fallback returned 0 products on the live site. zimmo.be
has moved to an Angular-rendered listing grid since the properties-
JSON path was confirmed (2026-08-22) -- that path and a real-estate
JSON-LD path are both now absent entirely (a live capture's only
JSON-LD block is aBreadcrumbList, navigation only). The CSS
fallback is therefore the path actually in use today, and it had its
own bug: a widening search correctly found the tile's price-
containing ancestor (the price lives in a sibling<div class="price">,
not inside the<a>around the title), but that widened scope was
discarded and silently recomputed narrower in a second pass, missing
the price on every real listing. - Prices came back as billions. The price parser (already
rewritten once for the 0.3.0 audit's own thousands-separator bug)
allowed a bare SPACE as an additional grouping character inside the
price digits. Real tile text is flattened to one string with single
spaces between every element (get_text(" ", strip=True)), so a
real price such as "€ 385.000" followed anywhere later in the same
text by an unrelated number -- a bedroom count, a surface area --
was greedily swallowed as a continuation of the price's own
thousands grouping: "€ 385.000 2 slaapkamers 120 m²" parsed as
3,850,002 instead of 385,000, live, on a real page. A bare space is
no longer treated as a grouping character;.(the site's own
confirmed separator) still is. --solve-captcha=when-blocked(the default) skipped solving on a
genuinely blocked page.SELECTORS["item_link"]was a loose
pre-confirmation guess (a[href*="/"]) matching any relative link at
all -- including a blocked/shell page's own 91 navigation, cookie-
consent, language-switcher and footer-legal links, none of them a
real listing.when-blocked's own "does this page already have
real content" check counted those 91 links as "already rendered" and
skipped solving on a page that was still genuinely gated. Replaced
with.zimmo-code, a marker confirmed present only on a real listing
tile, never on nav/cookie/footer chrome -- this selector feeds both
this check and the pre-existing render-detection wait, across all
three engines.- An EPC label followed by a word failed to parse at all.
"EPC label C","EPC label: A+"and similar natural-language
phrasing did not match the EPC regex, which required ONLY non-letter
characters between "EPC" and the grade letter -- leaking the raw EPC
text into the CSS fallback's own title field instead of being
recognised and stripped. Widened to allow up to 20 characters
(non-greedy) before the grade letter; the grade letter itself is
matched case-SENSITIVE (uppercase only) specifically to avoid a
case-insensitive match snagging a random lowercase a/b/c/d/e/f/g out
of an ordinary nearby English word -- confirmed as a real risk when
an earlier, all-case-insensitive version of this same fix matched
"a" out of "available" in unrelated text near the word "EPC". scraper_api_client.py's wait condition could never succeed.
DEFAULT_WAIT_FOR_TEXTwas"properties: [", confirmed live
2026-08-22 but removed from the site entirely by the same Angular
rewrite noted above -- every call using the default timed out
unconditionally, regardless of whether Cloudflare would have let the
request through. Changed to"€", confirmed live to appear as
genuine rendered price text on every real listing tile.
Repo-readiness fixes (found during final pre-push review, not live testing)
canary.ymlrequired every page to complete andstatus == "complete"on a single attempt -- given the run-to-run
inconsistency documented above (found the SAME day this canary was
written), this made the canary likely to fail on the site's own
normal instability rather than a real scraper regression, exactly
the "always red, so everyone ignores it" failure mode this repo's
own CI philosophy warns against. Now retries the whole run up to 3
times and acceptspartial(not justcomplete) as long as a
reasonable number of priced listings came through..gitignoredid not cover ad-hoc, one-off diagnostic scripts
written during a live-testing session -- confirmed as a real gap:
none ofreliability_test.sh,check_quality.py,check_context.py
oranalyze_reliability.pywere excluded automatically, and all had
to be removed by hand before this repo's own first commit. Added a
scratch_*naming convention (and the specific names above) so a
future one-off script is excluded automatically.- The default branch was
master(this environment'sgit init
default); renamed tomainto match the push instructions actually
given alongside this repo.
Also documented (not code changes, but confirmed live findings)
- Whether a plain Scraper API call, a
--cdp-url-routed call, or the
Playwright engine's ownCaptcha.setAutoSolvegets through zimmo.be's
Managed Challenge is inconsistent run to run -- the identical
configuration succeeded and failed on different attempts across
every one of these three paths during live testing. See
scraper_api_client.py's own module docstring and
playwright_scraper.py's reliability-testing notes for the full,
dated history; budget for retries in production regardless of which
path is used. - The 2Captcha proxy field on
scraper_api_client.py's--proxyflag
was added this release (previously unsupported) and independently
confirmed live via the proxy provider's own usage dashboard, not
just this project's own output.