[object Object]

← back to Fromental Internal

repoint scraper host www.fromental.co.uk -> fromental.com (TK-10650)

8226af7c9510e031d828644c35fdd9c745f9cd02 · 2026-08-18 10:24:05 -0700 · Steve Abrams

Brand migrated TLDs; both alias the same Shopify store (verified same first product id
16278330704207, identical 250-count page1, collections.json + products.json both 200 on .com).
Canonicalize BASE in scrape-fromental.js + collection-material.js to the primary .com domain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 8226af7c9510e031d828644c35fdd9c745f9cd02
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue Aug 18 10:24:05 2026 -0700

    repoint scraper host www.fromental.co.uk -> fromental.com (TK-10650)
    
    Brand migrated TLDs; both alias the same Shopify store (verified same first product id
    16278330704207, identical 250-count page1, collections.json + products.json both 200 on .com).
    Canonicalize BASE in scrape-fromental.js + collection-material.js to the primary .com domain.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 scripts/collection-material.js | 2 +-
 scripts/scrape-fromental.js    | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/scripts/collection-material.js b/scripts/collection-material.js
index b78cbce..e45a59b 100644
--- a/scripts/collection-material.js
+++ b/scripts/collection-material.js
@@ -17,7 +17,7 @@
  * Used by scrape-fromental.js so collection+material are populated at scrape
  * time and never regress on a refresh.
  */
-const BASE = 'https://www.fromental.co.uk';
+const BASE = 'https://fromental.com'; // migrated off www.fromental.co.uk; same Shopify store, canonicalized 2026-08-18 TK-10650
 const UA = { 'User-Agent': 'Mozilla/5.0 (Macintosh) DW-catalog-sync' };
 
 // Material-technique collection handle → normalized material label.
diff --git a/scripts/scrape-fromental.js b/scripts/scrape-fromental.js
index 60860e6..37cac68 100644
--- a/scripts/scrape-fromental.js
+++ b/scripts/scrape-fromental.js
@@ -2,7 +2,9 @@
 /**
  * scrape-fromental.js — feed-first ($0) Fromental catalog scraper.
  *
- * Fromental (https://www.fromental.co.uk) is a CONFIRMED Shopify store, so we hit
+ * Fromental (https://fromental.com — the brand migrated off www.fromental.co.uk;
+ * both alias the SAME Shopify store, canonicalized to .com 2026-08-18 TK-10650) is a
+ * CONFIRMED Shopify store, so we hit
  * products.json?limit=250&page=N until a page returns 0 products. No auth, no
  * proxy, no captcha, no paid API. Cost: $0 (local).
  *
@@ -25,7 +27,7 @@
 const { Client } = require('pg');
 const { buildResolver } = require('./collection-material');
 
-const BASE = 'https://www.fromental.co.uk';
+const BASE = 'https://fromental.com';
 const DB = process.env.DATABASE_URL || 'postgresql://localhost/dw_unified';
 
 async function fetchPage(page) {

← 8d26e44 nav-agent: universal grid-controls drop-in on internal viewe  ·  back to Fromental Internal  ·  Refresh nav-agent to v1.2 (adds kv-list compact List view, d b48cc59 →