This commit is contained in:
doms9 2025-09-21 10:28:15 -04:00
parent 00000d9c5b
commit 00000d946c
5 changed files with 20 additions and 10 deletions

View file

@ -54,10 +54,12 @@ async def scrape(client: httpx.AsyncClient) -> None:
channel = url.split("/")[-2]
tvg_id, logo = league_info(sport)
entry = {
"url": f"http://origin.thetvapp.to/hls/{channel}/mono.m3u8",
"logo": league_info(sport)["logo"],
"id": league_info(sport)["id"],
"logo": logo,
"id": tvg_id or "Live.Event.us",
"base": "https://tvpass.org",
"timestamp": now.timestamp(),
}