Sjoerd de Vries 5e7d247a16 feat: add price scraper with JSON-LD/meta/regex fallback
- Implement extractPrice() to extract price from HTML with three fallback methods:
  1. JSON-LD Product schema (json-ld)
  2. og:price:amount meta tag (meta)
  3. Euro symbol regex pattern (regex)
- Implement fetchAndExtractPrice() for fetching URLs and extracting prices
- Includes helper functions for parsing and normalizing price values
- Add comprehensive test suite with fixtures for each extraction method
- All tests passing (14/14)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013gwc3aCiyQxmCWQke8RvEz
2026-09-05 15:06:27 +02:00
2026-09-05 14:59:04 +02:00
2026-09-05 14:59:04 +02:00
2026-09-05 14:59:04 +02:00
2026-09-05 14:59:04 +02:00
S
Description
Dagelijkse prijstracker die mailt bij prijswijzigingen
136 KiB
Languages
JavaScript 98%
Dockerfile 2%