Commit Graph

3 Commits

Author SHA1 Message Date
2ce66aba10 feat: switch to BFF JSON API for notification discovery
All checks were successful
ZIPAIR Singapore Sale Monitor / check (push) Successful in 22s
Replace HTML scraping with a direct call to bff.zipair.net/v1/information
via FlareSolverr. The BFF returns clean JSON (id, title, category,
publishedAt) — no regex parsing of rendered pages. Also adds first-run
seeding to avoid alerting on all historical notifications.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 19:41:13 +08:00
7487b5f630 feat: switch to FlareSolverr + slug-based notification tracking
- All ZIPAIR fetches now go through FlareSolverr at 192.168.10.76:8191
- Dropped sitemap/probe approach; scrape EN notification listing directly
- State file now stores JSON list of seen slugs instead of last integer ID
- Matches keywords against slug and full page content

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:41:15 +08:00
889da03dc8 feat: initial ZIPAIR Singapore sale monitor
Polls ZIPAIR sitemap every 10 min via Gitea Actions, detects new
Singapore/winter notifications, and fires an ntfy push alert.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 15:57:00 +08:00