update M3U8

This commit is contained in:
GitHub Actions Bot 2025-11-26 14:32:36 -05:00
parent 21dbfacf9c
commit e5d058e822
4 changed files with 1387 additions and 563 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -15,8 +15,6 @@ BASE_URL = "https://pixelsport.tv/backend/livetv/events"
async def get_api_data(url: str) -> dict[str, list[dict, str, str]]:
log.info("Refreshing API cache")
async with async_playwright() as p:
try:
browser, context = await network.browser(p)

View file

@ -24,8 +24,6 @@ async def refresh_api_cache(
client: httpx.AsyncClient,
url: str,
) -> dict[str, list[dict]]:
now = Time.now()
log.info("Refreshing API cache")
data = {}
@ -57,7 +55,7 @@ async def refresh_api_cache(
data["matches"] = json.loads(match[1])
data["timestamp"] = now.timestamp()
data["timestamp"] = Time.now().timestamp()
break