Claimed result
- Who: Romain Brunel (Affiseo), author of the GEO case "from 22 to 267 visits a day from ChatGPT" already in this theme; a French affiliate site on sofas, mattresses and armchairs.
- Catalogue: 639 models online (369 published according to the live counter), 394 product cards with links; every colour and format is a link of its own.
- Link audit of 13 November (07:01 UTC): 10,756 links across 394 cards:
- 10,052 ok;
- 676 to review;
- 9 dead;
- 9 no longer carrying an affiliate tag (all on But);
- 10 for products that were pulled.
- By merchant: Bobochic 6,786 links (6,780 ok), Maisons du Monde 1,903 (1,587 ok, 315 to review), La Redoute 1,597 (1,236 ok, 361 to review), Conforama 233, Miliboo 194, Tediber 21, Camif 5.
- Cost: the whole flow (links + price updates) runs with a fallback scraper capped at $1.50 a day, with a ceiling that cannot be exceeded. Bright Data since the start of the project: $122.58 for 83,705 requests ($15.11 in September, $84.44 in October before the cap, $23.03 in the first 13 days of November after it). A second scraping service on the same catalogue, DataForSEO, cost $95.40 over the same period. The feeds: $0.
- Who built it: "I am not a developer": all written with Claude Code, by describing the rules and the budget.
Proof: medium-high. Very detailed numbers with dates, file names, merchants and the mistakes too, consistent with each other and with the same author's earlier case; but they're self-reported, with no verifiable screenshots or affiliate revenue. The article doesn't say how much the site earns: it's a method to protect revenue (broken links and wrong prices), not a proof of earnings.
The key idea
On an affiliate site every link is a small revenue stream that can break silently: product pulled, URL changed by the merchant, affiliate tag lost, price changed. The fix isn't a powerful scraper but a cost priority order: first the affiliate networks' free feeds, then a direct read of the page (a plain HTTP request), and only last the paid scraper, inside a budget that refuses the call before it is billed. The rest are rules to never publish wrong data: sanity checks, confirmation over several days, precise verdicts and numbers in the text that can't go stale.
Step-by-step playbook
1. The order that keeps the bill small
- 5 October, written as a comment in the cron file: "prices come from the official feeds every day; Bright Data at most once a month".
- 3 November, after an incident (see step 5), it becomes a budget: "$1.50 max per day for ongoing use; better if it costs nothing at all: feeds and direct reads first, Bright Data only if useful".
- Every price and every link follows 3 steps in order: 1. free affiliate feed: if the merchant gives the price or stock in the feed, use that (cost $0); 2. direct read of the merchant page with a plain HTTP request, no scraping service: for link checks and prices the feed doesn't cover; 3. Bright Data last, only if the first two found nothing, and only inside a hard daily cap.
- That's the rule that makes the system cheap: most catalogues wire a scraper as the main source; here it's the last resort.
2. Pull the free feeds every day
- Every day a script (
scripts/flux/telecharger.ts) downloads every available affiliate feed, with the keys never printed to a log. On 13/11: 11 feeds from 4 networks: - Effinity: Vente-unique, Bobochic, Maisons du Monde (one feed alone is 67 MB);
- Affilae: Tediber (3 feeds), La Redoute (2 feeds), Conforama;
- Kwanko: Miliboo;
- Awin: Camif.
- Feeds are kept for 4 runs (about 1.3 GB), so the previous day is always there for comparison.
- A Python script (
index-prix.py) turns every feed into one price per variant, with the merchant's crossed-out price next to it. - The rule repeated to Claude Code more than once: match by the merchant's own identifier, never by name. Each merchant has its key: reference (Maisons du Monde, Miliboo, Camif), Shopify variant id (Tediber), product + colour code (Bobochic, which prices by combination, not by size), SKU (Conforama), product + option number (La Redoute). Titles change, get translated or rewritten; the identifier doesn't.
- Coverage: on 13/11 the feeds covered 7,495 of 10,478 price variants (72%) across 367 cards, versus 4,585 of 7,493 (61%) on 22/10 across 207 cards. The variants no feed can see dropped from 2,165 to 627 in 3 weeks, simply because more cards were published and more merchants mapped.
- Coverage by merchant (covered / total): Bobochic 4,554/6,589, Maisons du Monde 1,465/1,678, La Redoute 1,137/1,468, Miliboo 161/162, Conforama 154/156, Tediber 20/20, Camif 4/4. IKEA (344 variants) and But (57) have no usable feed: every one of their prices comes from a direct read or Bright Data.
3. The 4 checks that keep bad data out
Before any number reaches a page:
| Check | Rule |
|---|---|
| Freshness | feed older than 30 hours → ignored |
| Sanity bounds | price under €20 or over €20,000 → ignored |
| Variation cap | price moving more than 40% → put in a review file (a-revoir.json), not published |
| 3-day confirmation | a big drop becomes a published promotion only if it holds 3 days in a row |
- Why the last rule: on 29 October La Redoute ran a 44–49% sale; the 40% cap rightly flagged it, but it sat in review for 9 days because nobody had written the confirmation logic. On 7 November
lib/flux/baisse-confirmee.tsarrived, which confirms a drop on its own once it has lasted 3 days. - The date shown to visitors ("price checked on…") is always the oldest reading of that variant, never the latest: the date never overstates how fresh the number is.
4. Audit every link every morning
- Every morning at 07:40 Paris time
scripts/liens/audit.shopens every link with a plain HTTP request (never Bright Data) and assigns one of 6 verdicts: ok, dead, not affiliated, product removed, out of stock, needs a human look. - Two different units, both real: the live counter (
data/synthese/synthese.json) showed 6,689 ok links at 12:04 UTC the same day across 639 models, because it tracks link health per model, while the morning audit counts every colour and format (10,756). Advice: pick one unit and say which one you're quoting, because the two numbers will never match.
5. A cap on Bright Data that refuses before billing
- Cost: about $0.0015 per request: cheap per call, dangerous at scale.
- The incident: between 1 and 3 November a completeness-check script was paying for about 1,000 Bright Data pages every night, timing out and writing nothing. It ran on a shared company budget ($5 a day, $120 a month) too loose to notice. Cost: $4.77 on 2 and 3 November alone, in a month already heading for about 4,465 calls.
- The fix (3/11):
lib/brightdata-plafond.ts, a per-service budget that refuses the call before it is billed: - ongoing use: $1.50 a day, $45 a month;
- building new product cards (which needs more scraping): separate envelope of $2.00 a day, $30 in total;
- alert at 80% of the budget.
- Daily trend in November (ongoing use): $2.37 (1/11), $3.03 (2/11), $1.84 (3/11), $1.79 (4/11), then the cap bites: about $1.50 a day from 5 to 11, $0.56 on the 12th, $1.47 on the 13th. 9,365 calls refused in total; heaviest days: 2,517 on 3/11, 1,948 on 9/11, 1,343 on 7/11, 1,291 on 8/11.
- Feeds vs scraper check: since 5/10 prices no longer use Bright Data as the default source; where both were sampled they matched: Maisons du Monde 85/85, Miliboo 116/117, Tediber 20/20, La Redoute 232/232, Camif 4/4, Bobochic 518/522 (after a fix on 6/11).
6. Crossed-out prices by the rules (not as decoration)
A crossed-out price is a legal claim. Rule written on 4/11 (lib/promos/regles.ts) following the Code de la consommation, art. L112-1-1 and the EU Omnibus directive, with 3 cases:
- With 30 days of history before the current price: the reference is the lowest price seen in those 30 days; it's a promotion only if the current price is at least 5% below.
- If the current price level has lasted through all 30+ days of history: no promotion (a crossed-out price that never moves isn't a discount).
- With less than 30 days of history: the merchant's crossed-out price can be used only if it is at or above the highest price ever seen; if a lower price was seen, that becomes the reference. The 5% minimum always holds and the percentage is rounded down.
- Two constants: 5% minimum gap and 30-day history. The calculation runs 3 times a day (
scripts/promos/calculer.ts). - 13/11 at 06:42 UTC: 126 of 324 sofas on promotion (3,143 of 6,773 variants, 4,466 declinations), of which 3,777 using the merchant's crossed-out price and 689 using own history; mattresses 94 of 181; armchairs 7 of 45. Example: a 3-seat beige ribbed-velvet sofa (product 10021) at €599 instead of €799, −25% confirmed by the merchant until 30/11.
7. Never a fixed number in the text
- Sentences like "233 sofas analysed" go stale as soon as a product disappears. Instead, a token (
{nb},{prix_med}) replaced by the value computed every time the page is generated. - Bug avoided: on 29 September an intro said "233 sofas" on a page that showed 227.
- Tokens also handle grammar:
{nb:modèle:modèles}picks singular or plural. - The busiest page,
/prix-moyen-canape/(average sofa price), has 20 tokens: median price, 10th percentile, median for a corner sofa, the extra cost of a sofa bed and more. - Each token is also a claim ("a corner sofa costs at least 15% more"): every Monday a script checks it still holds; if not, a Telegram alert fires.
8. The mistakes that cost money or time
- No per-service budget: a script burned calls for 3 days on a shared budget that was too loose. Fix: refuse the call before billing, per service.
- A silent field bug: on 6/11 the Bobochic reader used
sale_priceinstead ofsale_price_discount, an 8–10% gap on every price; after the fix 518 of 522 sampled prices matched again. - A rule with no way out: the 40% cap rightly flagged a real sale but could never clear it: stuck 9 days until the 3-day confirmation shipped.
- Byte-for-byte address comparison: on 9/11 a Maisons du Monde URL compared byte by byte made working links look broken.
- Old data read before fresh data: on 6/11 a script read a file frozen since early October first and marked cards as outdated.
- A paid account can go down without warning: Bright Data returned an authentication error from 11 to 12/11 for about 11 hours, with no alert; 43 cards blocked, then resumed on their own.
- A cap can block the wrong thing: on 11/11 the daily cap stopped an entire category pass instead of skipping only the items it couldn't afford; now it sets those aside and carries on with the rest.
9. The method in one list
- Order every lookup: free feed → direct HTTP read → paid scraper.
- Match products by the merchant's identifier, never by name.
- Reject what a feed says if it fails the checks: too old, too low, too high, too big a jump.
- Require a suspicious change to repeat for several days before publishing it.
- Audit every link every day with real verdicts, not just "working/broken".
- Give every paid tool a daily and monthly budget enforced before billing.
- Write discount rules as numbered cases tied to the law, not to what the merchant claims.
- Never hand-write a number that can change: use a recomputed token.
- Re-check your own claims regularly and get alerted the moment one stops being true.
Tools and costs
| Item | Detail | Cost |
|---|---|---|
| Feeds | Effinity, Affilae, Kwanko, Awin (11 feeds) | $0 |
| Code | TypeScript (tsx) and Python; bash + cron with flock; written with Claude Code |
— |
| API keys | Doppler | — |
| Alerts | Telegram | — |
| Site | WordPress on OVH, written via SSH/PHP, MySQL cap of 500,000 queries/hour (on 13/11 an export fell back to the backup copy: 660,050 queries against the cap) | — |
| Fallback scraper | Bright Data, ~$0.0015/request, cap $1.50/day and $45/month (+ new-card envelope $2/day, $30 total) | $122.58 total (83,705 requests) |
| Second scraper | DataForSEO | $95.40 over the same period |
| Server | one Hostinger VPS | — |
Limitations
- No revenue data: you see what it costs to maintain the catalogue, not what it earns.
- Specific to France and furniture: networks, merchants and legal references are French; elsewhere feeds and rules differ (the Omnibus directive, though, covers the whole EU).
- Needs technical upkeep: even though written with Claude Code, the system had 7 real mistakes in a few weeks; without logs, alerts and weekly reviews, problems stay invisible.
- Self-reported data from the author, who promotes his AI skills for affiliate and e-commerce sites.
- Legal risks of crossed-out prices: the rule described is the author's reading, not legal advice.