← back to Homesonspec
ashton-woods: tighten image blocklist + purge residual pollution
d9a0af8c28f865dfdbab8b21f3b55df38dc9b816 · 2026-07-28 22:20:18 -0700 · Steve Abrams
Blocklist missed lowercase-plural 'collections' + 'transfer_' banner prefix (18
residual homes). Broadened to /collection|thumbnail|trustworthy|companies|award|
badge|logo|download=true|transfer_/i and surgically stripped bad URLs from all AW
image arrays in prod (UPDATE 148). AW pollution now 0/0, coverage unchanged 411/412.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
M collectors/ashton-woods/src/index.ts
Diff
commit d9a0af8c28f865dfdbab8b21f3b55df38dc9b816
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Jul 28 22:20:18 2026 -0700
ashton-woods: tighten image blocklist + purge residual pollution
Blocklist missed lowercase-plural 'collections' + 'transfer_' banner prefix (18
residual homes). Broadened to /collection|thumbnail|trustworthy|companies|award|
badge|logo|download=true|transfer_/i and surgically stripped bad URLs from all AW
image arrays in prod (UPDATE 148). AW pollution now 0/0, coverage unchanged 411/412.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
collectors/ashton-woods/src/index.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/collectors/ashton-woods/src/index.ts b/collectors/ashton-woods/src/index.ts
index a5fd91f1..2119e714 100644
--- a/collectors/ashton-woods/src/index.ts
+++ b/collectors/ashton-woods/src/index.ts
@@ -213,7 +213,7 @@ export const ashtonWoodsAdapter: SourceAdapter = {
// The page-wide Widen sweep also picks up brand marketing assets that are NOT this
// home's photos — collection thumbnails, the "most-trustworthy-companies" award badge,
// logos. Blocklist them so a home's gallery only shows the home. [Cody-gate fix 2026-07-28]
- const BADIMG = /AW_Collections|Collection-Thumbnail|-Collection\b|most-trustworthy|companies-in-america|award|badge|_logo|download=true/i;
+ const BADIMG = /collection|thumbnail|trustworthy|companies|award|badge|logo|download=true|transfer_/i;
const seenImg = new Set<string>();
const images: string[] = [];
for (const u of [ldImg, ...widenAll].filter((x): x is string => !!x)) {
← 840c359e collectors: add Fischer, Fulton, GL Homes adapters (+3 build
·
back to Homesonspec
·
fulton: parse bed/bath RANGES correctly (contrarian fix) — r e3c33f7b →