This commit is contained in:
doms9 2025-09-30 17:27:42 -04:00
parent e0e04c8635
commit 00000d9362
10 changed files with 230 additions and 9 deletions

View file

@ -240,6 +240,9 @@ async def get_events(
elem.clear()
continue
if start_dt.date() != now.date():
continue
if not start_dt <= dt <= end_dt:
elem.clear()
continue
@ -316,7 +319,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
entry = {
"url": url,
"logo": logo,
"id": tvg_id or "Live.Event.us",
"id": tvg_id,
"base": "https://livetv.sx/enx/",
"timestamp": now.timestamp(),
}