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

@ -35,6 +35,8 @@ MIRRORS = [
*[f"https://thestreameast.{ext}" for ext in prefixes if prefixes[ext] == "the"],
]
TAG = "STRMEST"
async def get_events(
client: httpx.AsyncClient,
@ -86,7 +88,7 @@ async def get_events(
timestamp = int(a.attributes.get("data-time", Time.default_8()))
key = f"[{sport}] {name} (SEAST)"
key = f"[{sport}] {name} ({TAG})"
if cached_keys & {key}:
continue
@ -152,7 +154,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
tvg_id, logo = leagues.get_tvg_info(sport, event)
key = f"[{sport}] {event} (SEAST)"
key = f"[{sport}] {event} ({TAG})"
entry = {
"url": url,