e
This commit is contained in:
parent
00000d9172
commit
00000d9531
4 changed files with 219 additions and 10 deletions
|
|
@ -3,7 +3,7 @@ import asyncio
|
|||
from pathlib import Path
|
||||
|
||||
import httpx
|
||||
from scrape import ace, logger, tvpass # , fstv
|
||||
from scrape import ace, fstv, livetvsx, logger, tvpass
|
||||
|
||||
log = logger.get_logger(__name__)
|
||||
|
||||
|
|
@ -38,15 +38,18 @@ async def vanilla_fetch() -> tuple[list[str], int]:
|
|||
|
||||
|
||||
async def main() -> None:
|
||||
await tvpass.main(client)
|
||||
tasks = [
|
||||
# ace.main(client),
|
||||
# fstv.main(client),
|
||||
# livetvsx.main(),
|
||||
tvpass.main(client),
|
||||
]
|
||||
|
||||
await ace.main(client)
|
||||
|
||||
# await fstv.main(client)
|
||||
await asyncio.gather(*tasks)
|
||||
|
||||
base_m3u8, tvg_chno = await vanilla_fetch()
|
||||
|
||||
additions = tvpass.urls | ace.urls # | fstv.urls
|
||||
additions = ace.urls | fstv.urls | livetvsx.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"]}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue