From 4db4b9d694b243317fc68ed6e90595bd1ec71e01 Mon Sep 17 00:00:00 2001 From: jason Date: Sat, 6 Jun 2026 13:37:18 -0500 Subject: [PATCH] Scaper fixes - UI website update --- PROJECT.md | 6 +++--- backend/src/scraper.ts | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/PROJECT.md b/PROJECT.md index 9b5533b..d79db8e 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -42,9 +42,9 @@ The SQLite database is stored on a mounted volume at `/app/data/tracker.db` so i ## Key Features ### Stock Detection -Puppeteer navigates to each product URL and waits for React hydration (2.5s delay), then scans all `` elements for exact text matches: -- `"Add to Cart"` → `in_stock` -- `"Sold Out"` → `sold_out` +Puppeteer navigates to each product URL and waits for React hydration (2.5s delay), then: +- `