This commit is contained in:
doms9 2025-09-03 15:00:17 -04:00
parent dece752803
commit 00000d9440
12 changed files with 371 additions and 133 deletions

View file

@ -3,10 +3,10 @@ import asyncio
from pathlib import Path
import httpx
from scrape import ace, fstv, livetvsx, tvpass
from scrape.utils import logger
from scrape import ace, fstv, livetvsx, ppv, tvpass
from scrape.utils import get_logger
log = logger.get_logger(__name__)
log = get_logger(__name__)
BASE_URL = "https://s.id/ePwXT"
@ -40,9 +40,10 @@ async def vanilla_fetch() -> tuple[list[str], int]:
async def main() -> None:
tasks = [
# ace.main(client),
# fstv.main(client),
# asyncio.create_task(ace.main(client)),
# asyncio.create_task(fstv.main(client)),
asyncio.create_task(livetvsx.main(CLIENT)),
asyncio.create_task(ppv.main(CLIENT)),
asyncio.create_task(tvpass.main(CLIENT)),
vanilla_fetch(),
]
@ -51,7 +52,7 @@ async def main() -> None:
base_m3u8, tvg_chno = results[-1]
additions = ace.urls | fstv.urls | livetvsx.urls | tvpass.urls
additions = ace.urls | fstv.urls | livetvsx.urls | ppv.urls | tvpass.urls
lines = [
f'#EXTINF:-1 tvg-chno="{chnl_num}" tvg-id="(N/A)" tvg-name="{event}" tvg-logo="{info["logo"]}" group-title="Live Events",{event}\n{info["url"]}'