Commit Graph
5 Commits
Author SHA1 Message Date
Ebbe Baß e10efaa129 added rate-limiting for specific requests 2026-09-09 13:54:06 +02:00
Ebbe Baß 9d52d869fb skip @reboot line for cron 2026-09-09 13:50:22 +02:00
Ebbe Baß 5d9b3a6070 changed method of fetching crontab schedule 2026-09-09 11:40:35 +02:00
ebbe.bassandClaude Sonnet 5 eaed7d4ce6 Add archive scraping, webcal feed, and scrape schedule reporting
- scraper.py: --archive flag to scrape https://fundbureau.de/archiv.html
  (past events), fixing a container-specific wait selector and a crash
  on events with no door time that this surfaced.
- api: EventStore now merges an optional archive JSON file into the
  main event list (deduped by date+name); adds GET /events/archive.
- api: GET /calendar.ics serves an RFC 5545 feed of all events for
  webcal subscriptions, with an all-day fallback when no door time is
  parseable.
- api: GET /health reports last-scrape time (from file mtime) and, via
  new SCRAPE_CRON/ARCHIVE_SCRAPE_CRON env vars, the next scheduled run
  and seconds until it, for both the regular and archive scrape.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-05 13:42:51 +02:00
ebbe.bass 7065dfd8d2 added uvicorn web api 2026-09-02 20:20:01 +02:00