edit typing
move epg fetching into M3U8 folder
edit workflows
This commit is contained in:
doms9 2026-01-24 00:48:30 -05:00
parent 00000d9638
commit 00000d98e3
16 changed files with 376740 additions and 377279 deletions

View file

@ -2,7 +2,7 @@ import asyncio
from functools import partial
from urllib.parse import urljoin
from playwright.async_api import BrowserContext
from playwright.async_api import Browser
from selectolax.parser import HTMLParser
from .utils import Cache, Time, get_logger, leagues, network
@ -132,7 +132,7 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
return live
async def scrape(browser: BrowserContext) -> None:
async def scrape(browser: Browser) -> None:
cached_urls = CACHE_FILE.load()
valid_urls = {k: v for k, v in cached_urls.items() if v["url"]}