update M3U8

This commit is contained in:
GitHub Actions Bot 2025-11-05 15:03:36 -05:00
parent dc142ae30b
commit 19ba2fa56b
3 changed files with 1065 additions and 717 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -55,8 +55,8 @@ async def get_events(
events: list[dict[str, str]] = [] events: list[dict[str, str]] = []
now = Time.clean(Time.now()) now = Time.clean(Time.now())
start_dt = now.delta(minutes=-30) start_dt = now.delta(hours=-1)
end_dt = now.delta(minutes=30) end_dt = now.delta(minutes=15)
for category, streams in api_data["streams"].items(): for category, streams in api_data["streams"].items():
if not streams: if not streams:
@ -140,7 +140,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
entry = { entry = {
"url": url.replace("540p", "720p"), "url": url.replace("540p", "720p"),
"logo": logo, "logo": logo,
"base": "", "base": BASE_URL,
"timestamp": ts, "timestamp": ts,
"id": tvg_id or "Live.Event.us", "id": tvg_id or "Live.Event.us",
} }