mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-05-24 14:15:15 +02:00
Amazon products can have multiple prices: - Main buy box price - "Other Sellers" prices - Subscribe & Save prices - New & Used prices The scraper now extracts ALL prices, not just the main one. This allows anchor price matching to find the specific price the user selected. Also fixed AI verification overriding user's anchor price selection. When user deliberately chose a price (e.g., "other sellers" at $52.91), don't let AI "correct" it to the main buy box price ($79.99). Changes: - Amazon scraper now collects all price variants - extractSiteSpecificCandidates handles allPrices array - Anchor matching now always returns (no fall-through to AI override) - Increased anchor tolerance from 10% to 15% for small sales - Added debug logging showing all candidate prices Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||