This commit is contained in:
doms9 2025-12-01 14:46:31 -05:00
parent 8094466d7d
commit 00000d99d8
15 changed files with 402 additions and 30 deletions

View file

@ -12,6 +12,8 @@ CACHE_FILE = Cache("tvpass.json", exp=86_400)
BASE_URL = "https://tvpass.org/playlist/m3u"
TAG = "TVP"
async def get_data(client: httpx.AsyncClient) -> list[str]:
try:
@ -46,7 +48,7 @@ async def get_events(client: httpx.AsyncClient) -> dict[str, dict[str, str | flo
event = "(".join(tvg_name.split("(")[:-1]).strip()
key = f"[{sport}] {event} (TVP)"
key = f"[{sport}] {event} ({TAG})"
channel = url.split("/")[-2]