diff --git a/M3U8/fetch.py b/M3U8/fetch.py index 73cae7c..4f922f1 100644 --- a/M3U8/fetch.py +++ b/M3U8/fetch.py @@ -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}", diff --git a/M3U8/scrapers/ace.py b/M3U8/scrapers/ace.py index aed24c9..75f717b 100644 --- a/M3U8/scrapers/ace.py +++ b/M3U8/scrapers/ace.py @@ -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 diff --git a/M3U8/scrapers/fstv.py b/M3U8/scrapers/fstv.py index 5581f4d..cea8baf 100644 --- a/M3U8/scrapers/fstv.py +++ b/M3U8/scrapers/fstv.py @@ -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"], } diff --git a/M3U8/scrapers/livetvsx.py b/M3U8/scrapers/livetvsx.py index a96b915..60b03da 100644 --- a/M3U8/scrapers/livetvsx.py +++ b/M3U8/scrapers/livetvsx.py @@ -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(), } diff --git a/M3U8/scrapers/ppv.py b/M3U8/scrapers/ppv.py index 87b9769..9db0b09 100644 --- a/M3U8/scrapers/ppv.py +++ b/M3U8/scrapers/ppv.py @@ -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 diff --git a/M3U8/scrapers/streambtw.py b/M3U8/scrapers/streambtw.py index 7d21ae9..1abdbff 100644 --- a/M3U8/scrapers/streambtw.py +++ b/M3U8/scrapers/streambtw.py @@ -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 diff --git a/M3U8/scrapers/streameast.py b/M3U8/scrapers/streameast.py index 1784ab8..7000185 100644 --- a/M3U8/scrapers/streameast.py +++ b/M3U8/scrapers/streameast.py @@ -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 diff --git a/M3U8/scrapers/tvpass.py b/M3U8/scrapers/tvpass.py index 5dcba6f..8228f60 100644 --- a/M3U8/scrapers/tvpass.py +++ b/M3U8/scrapers/tvpass.py @@ -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(), }