diff --git a/backend/src/scraper.ts b/backend/src/scraper.ts index 5da9bf8..a8c76a4 100644 --- a/backend/src/scraper.ts +++ b/backend/src/scraper.ts @@ -70,24 +70,55 @@ export async function checkStockStatus(url: string): Promise { await page.goto(url, { waitUntil: 'networkidle2', timeout: 45000 }); - // Wait for React hydration + // Wait for React hydration, then actively wait for a