update M3U8

This commit is contained in:
GitHub Actions Bot 2026-04-20 15:30:48 -04:00
parent f7fa191ce4
commit fa72e64ecf
6 changed files with 440 additions and 305 deletions

View file

@ -47,19 +47,19 @@ async def process_event(url: str, url_num: int) -> str | None:
async def get_events() -> list[dict[str, str]]:
now = Time.clean(Time.now())
events = []
if not (
r := await network.request(
API_URL,
log=log,
params={"pageNumber": 1, "pageSize": 500},
log=log,
)
):
return events
now = Time.clean(Time.now())
api_data: list[dict] = r.json()
for stream_group in api_data: