mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
Some stores (e.g. Amazon) remove the price element when a product is out of stock. A missing price was a scrape error, so the product could not be created, and AI self-healing could move the price selector onto an unrelated price on the page. Add a per-store 'Treat a missing price as out of stock' setting. When it is on, ScrapeUrl::resolveStockStatus() reads a page with a title but no price as OutOfStock, so creation succeeds and healing does not run. Fixes #222