e
This commit is contained in:
parent
00000d9a95
commit
00000d99ba
8 changed files with 8 additions and 8 deletions
|
|
@ -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}",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue