e
This commit is contained in:
parent
8094466d7d
commit
00000d99d8
15 changed files with 402 additions and 30 deletions
|
|
@ -27,6 +27,8 @@ valid_sports = {
|
|||
"soccer": "Soccer",
|
||||
}
|
||||
|
||||
TAG = "ROXIE"
|
||||
|
||||
|
||||
async def process_event(
|
||||
client: httpx.AsyncClient,
|
||||
|
|
@ -90,7 +92,7 @@ async def refresh_html_cache(
|
|||
|
||||
event_sport = valid_sports[sport]
|
||||
|
||||
key = f"[{event_sport}] {event} (ROXIE)"
|
||||
key = f"[{event_sport}] {event} ({TAG})"
|
||||
|
||||
events[key] = {
|
||||
"sport": event_sport,
|
||||
|
|
@ -184,7 +186,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
|
||||
tvg_id, logo = leagues.get_tvg_info(sport, event)
|
||||
|
||||
key = f"[{sport}] {event} (ROXIE)"
|
||||
key = f"[{sport}] {event} ({TAG})"
|
||||
|
||||
entry = {
|
||||
"url": url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue