feat: new cockpit

This commit is contained in:
OpenSquared
2026-07-14 11:21:43 +02:00
parent 9778c74ae3
commit ad07c8d886
32 changed files with 871 additions and 551 deletions

View File

@@ -19,7 +19,7 @@ def _fetch_text(url: str, timeout: int = 15) -> str:
import urllib.request
import html
req = urllib.request.Request(url, headers={
"User-Agent": "Mozilla/5.0 (compatible; GeoOptions-Research/1.0)"
"User-Agent": "Mozilla/5.0 (compatible; OpenFin-Research/1.0)"
})
with urllib.request.urlopen(req, timeout=timeout) as resp:
raw = resp.read().decode("utf-8", errors="replace")