Commit Graph

11 Commits

Author SHA1 Message Date
2801757e34 fix: parse __NEXT_DATA__ JSON for notification slugs
Some checks are pending
ZIPAIR Singapore Sale Monitor / check (push) Has started running
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:47:08 +08:00
408de08743 feat: alert on any new notification, drop keyword filtering
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:45:05 +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
5cde054f71 debug: print sample sitemap URLs and notification HTML snippet
All checks were successful
ZIPAIR Singapore Sale Monitor / check (push) Successful in 23s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:21:41 +08:00
751fd36147 fix: log sub-sitemap byte counts, add EN notification listing fallback
All checks were successful
ZIPAIR Singapore Sale Monitor / check (push) Successful in 26s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:19:45 +08:00
5df8c9f1ac fix: use cookie jar session to bypass WAF, fix probe logic for 403 vs 404
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:17:37 +08:00
e9d7fdf7cc fix: ntfy URL fallback, drop Sec-Fetch headers, probe IDs when sitemap blocked
- Use `or` so empty NTFY_URL env var falls back to hardcoded default
- Remove Sec-Fetch-* headers that can trigger Cloudflare bot detection
- Try sitemap_index.xml as second sitemap attempt
- When both sitemaps are blocked, probe notification IDs sequentially
  above last_seen as a last resort

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:12:20 +08:00
ec71d6a504 fix: hardcode ntfy URL to ntfy.isky-homelab.com/zipair
All checks were successful
ZIPAIR Singapore Sale Monitor / check (push) Successful in 21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:05:34 +08:00
d6f09a37aa fix: add sec-fetch headers and fallback to notification listing on 403
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 16:03:30 +08:00
94b151ad9f chore: add .gitignore, remove duplicate workflow file
All checks were successful
ZIPAIR Singapore Sale Monitor / check (push) Successful in 20s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 15:59:36 +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