This commit is contained in:
doms9 2025-12-01 14:46:31 -05:00
parent 8094466d7d
commit 00000d99d8
15 changed files with 402 additions and 30 deletions

View file

@ -12,6 +12,8 @@ CACHE_FILE = Cache("streamfree.json", exp=19_800)
BASE_URL = "https://streamfree.to"
TAG = "STRMFR"
async def refresh_api_cache(
client: httpx.AsyncClient,
@ -40,7 +42,7 @@ async def get_events(client: httpx.AsyncClient) -> dict[str, dict[str, str | flo
for stream in streams:
sport, name = stream["league"], stream["name"]
key = f"[{sport}] {name} (STRMFR)"
key = f"[{sport}] {name} ({TAG})"
tvg_id, logo = leagues.get_tvg_info(sport, name)