e
This commit is contained in:
parent
acb19b7886
commit
00000d9990
10 changed files with 718 additions and 747 deletions
|
|
@ -5,14 +5,7 @@ from urllib.parse import urljoin
|
|||
import httpx
|
||||
from selectolax.parser import HTMLParser
|
||||
|
||||
from .utils import (
|
||||
get_logger,
|
||||
league_info,
|
||||
load_cache,
|
||||
now,
|
||||
safe_process_event,
|
||||
write_cache,
|
||||
)
|
||||
from .utils import get_logger, leagues, load_cache, now, safe_process_event, write_cache
|
||||
|
||||
log = get_logger(__name__)
|
||||
|
||||
|
|
@ -108,7 +101,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
|
||||
key = f"[{sport}] {event} (SBTW)"
|
||||
|
||||
tvg_id, logo = league_info(sport)
|
||||
tvg_id, logo = leagues.info(sport)
|
||||
|
||||
entry = {
|
||||
"url": url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue