This commit is contained in:
doms9 2025-09-04 19:53:27 -04:00
parent cb9d5637fc
commit 00000d905f
7 changed files with 224 additions and 93 deletions

View file

@ -3,7 +3,7 @@ import asyncio
from pathlib import Path
import httpx
from scrape import ace, fstv, livetvsx, ppv, tvpass
from scrape import livetvsx, ppv, streambtw, tvpass
from scrape.utils import get_logger
log = get_logger(__name__)
@ -40,10 +40,9 @@ async def vanilla_fetch() -> tuple[list[str], int]:
async def main() -> None:
tasks = [
# 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(streambtw.main(CLIENT)),
asyncio.create_task(tvpass.main(CLIENT)),
vanilla_fetch(),
]
@ -52,7 +51,7 @@ async def main() -> None:
base_m3u8, tvg_chno = results[-1]
additions = ace.urls | fstv.urls | livetvsx.urls | ppv.urls | tvpass.urls
additions = livetvsx.urls | ppv.urls | streambtw.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"]}'