e
This commit is contained in:
parent
595ec8761b
commit
00000d99b6
1 changed files with 2 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ import asyncio
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
from scrapers import livetvsx, ppv, streambtw, streameast, tvpass
|
from scrapers import livetvsx, ppv, streameast, tvpass
|
||||||
from scrapers.utils import UA, get_logger
|
from scrapers.utils import UA, get_logger
|
||||||
|
|
||||||
log = get_logger(__name__)
|
log = get_logger(__name__)
|
||||||
|
|
@ -38,7 +38,6 @@ async def main() -> None:
|
||||||
tasks = [
|
tasks = [
|
||||||
asyncio.create_task(livetvsx.main(CLIENT)),
|
asyncio.create_task(livetvsx.main(CLIENT)),
|
||||||
asyncio.create_task(ppv.main(CLIENT)),
|
asyncio.create_task(ppv.main(CLIENT)),
|
||||||
asyncio.create_task(streambtw.main(CLIENT)),
|
|
||||||
asyncio.create_task(streameast.main(CLIENT)),
|
asyncio.create_task(streameast.main(CLIENT)),
|
||||||
asyncio.create_task(tvpass.main(CLIENT)),
|
asyncio.create_task(tvpass.main(CLIENT)),
|
||||||
vanilla_fetch(),
|
vanilla_fetch(),
|
||||||
|
|
@ -48,9 +47,7 @@ async def main() -> None:
|
||||||
|
|
||||||
base_m3u8, tvg_chno = results[-1]
|
base_m3u8, tvg_chno = results[-1]
|
||||||
|
|
||||||
additions = (
|
additions = livetvsx.urls | ppv.urls | streameast.urls | tvpass.urls
|
||||||
livetvsx.urls | ppv.urls | streambtw.urls | streameast.urls | tvpass.urls
|
|
||||||
)
|
|
||||||
|
|
||||||
lines = [
|
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"]}'
|
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