Read the official standings and results from the CSI portal.

The Campionato page showed hardcoded demo data. It now reads the real
2025/26 season (Campionato Open Misto Eccellenza, project 767, team
3359, Girone B) from the Livescore CSI Bologna portal.

The portal has no documented API: we call the same endpoints its own
pages call over ajax, so parsing must degrade gracefully. A single
server route fetches them, caches for 6 hours and serves the last good
payload on failure; the page falls back to the previous data when
nothing is available. No browser ever contacts the portal, keeping the
request count independent of how many players open the app.

Also fixes the header, which claimed "Girone C - CSI Milano".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 12:23:12 +02:00
co-authored by Claude Opus 5
parent baaffc66db
commit fee3d0b55a
10 changed files with 523 additions and 20 deletions
+2 -1
View File
@@ -17,7 +17,8 @@
- AI Allenamenti.
- Dashboard amministratore.
- Collegamento CSI.
- Collegamento CSI: aggiornare `project_id` e `team_id` per la stagione 2026/27
(base implementata, vedi `docs/modules/collegamento-csi.md`).
---