This commit is contained in:
doms9 2025-09-19 02:16:37 -04:00
parent 00000d9a95
commit 00000d99ba
8 changed files with 8 additions and 8 deletions

View file

@ -53,7 +53,7 @@ async def main() -> None:
):
live_events.extend(
(
f'\n#EXTINF:-1 tvg-chno="{chnl_num}" tvg-id="(N/A)" tvg-name="{event}" tvg-logo="{info["logo"]}" group-title="Live Events",{event}',
f'\n#EXTINF:-1 tvg-chno="{chnl_num}" tvg-id="{info["id"]}" tvg-name="{event}" tvg-logo="{info["logo"]}" group-title="Live Events",{event}',
f'#EXTVLCOPT:http-referrer={info["base"]}',
f'#EXTVLCOPT:http-origin={info["base"]}',
f"#EXTVLCOPT:http-user-agent={UA}",

View file

@ -114,7 +114,7 @@ async def main(client: httpx.AsyncClient) -> None:
entry = {
"url": link,
"logo": league_info(sport)["logo"],
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
}
urls[key] = entry

View file

@ -162,7 +162,7 @@ async def main(client: httpx.AsyncClient) -> None:
"logo": league_info(sport)["logo"],
"base": base_url,
"timestamp": now.timestamp(),
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
"href": ev["href"],
}

View file

@ -310,7 +310,7 @@ async def main(client: httpx.AsyncClient) -> None:
entry = {
"url": url,
"logo": league_info(sport)["logo"],
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
"base": "https://livetv.sx/enx/",
"timestamp": now.timestamp(),
}

View file

@ -207,7 +207,7 @@ async def main(client: httpx.AsyncClient) -> None:
"logo": ev["logo"],
"base": base_url,
"timestamp": now.timestamp(),
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
}
urls[key] = cached_urls[key] = entry

View file

@ -113,7 +113,7 @@ async def main(client: httpx.AsyncClient) -> None:
"logo": ev["logo"] or league_info(sport)["logo"],
"base": BASE_URL,
"timestamp": now.timestamp(),
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
}
urls[key] = entry

View file

@ -191,7 +191,7 @@ async def main(client: httpx.AsyncClient) -> None:
"logo": league_info(sport)["logo"],
"base": base_url,
"timestamp": now.timestamp(),
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
}
urls[key] = cached_urls[key] = entry

View file

@ -55,7 +55,7 @@ async def main(client: httpx.AsyncClient) -> None:
entry = {
"url": f"http://origin.thetvapp.to/hls/{url.split('/')[-2]}/mono.m3u8",
"logo": league_info(sport)["logo"],
"tvg-id": league_info(sport)["id"],
"id": league_info(sport)["id"],
"base": "https://tvpass.org",
"timestamp": now.timestamp(),
}