mirror of
https://github.com/doms9/iptv.git
synced 2026-06-16 12:56:26 +02:00
update M3U8
This commit is contained in:
parent
529a0ca5ed
commit
8a174fd5d5
4 changed files with 558 additions and 417 deletions
482
M3U8/TV.m3u8
482
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
482
M3U8/events.m3u8
482
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -67,7 +67,7 @@ async def main() -> None:
|
||||||
httpx_tasks = [
|
httpx_tasks = [
|
||||||
asyncio.create_task(fawa.scrape()),
|
asyncio.create_task(fawa.scrape()),
|
||||||
asyncio.create_task(istreameast.scrape()),
|
asyncio.create_task(istreameast.scrape()),
|
||||||
# asyncio.create_task(mainportal.scrape()),
|
asyncio.create_task(mainportal.scrape()),
|
||||||
asyncio.create_task(pelotalibre.scrape()),
|
asyncio.create_task(pelotalibre.scrape()),
|
||||||
# asyncio.create_task(resportz.scrape()),
|
# asyncio.create_task(resportz.scrape()),
|
||||||
asyncio.create_task(shark.scrape()),
|
asyncio.create_task(shark.scrape()),
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ async def get_events() -> list[dict[str, str]]:
|
||||||
|
|
||||||
t1, t2 = stream_group.get("away"), stream_group.get("home")
|
t1, t2 = stream_group.get("away"), stream_group.get("home")
|
||||||
|
|
||||||
if not (date and sport):
|
if not (date and sport and t1 and t2):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
event_dt = Time.from_str(date, timezone="UTC")
|
event_dt = Time.from_str(date, timezone="UTC")
|
||||||
|
|
@ -113,9 +113,6 @@ async def get_events() -> list[dict[str, str]]:
|
||||||
if event_dt.date() != now.date():
|
if event_dt.date() != now.date():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not (t1 and t2):
|
|
||||||
continue
|
|
||||||
|
|
||||||
if not (streams := stream_group.get("streams")):
|
if not (streams := stream_group.get("streams")):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue