fix tvapp.py scraping
misc edits
This commit is contained in:
doms9 2026-02-12 00:27:36 -05:00
parent 3d5b650833
commit 00000d947c
5 changed files with 36 additions and 62 deletions

View file

@ -102,7 +102,7 @@ async def scrape() -> None:
log.info(f"Processing {len(events)} new URL(s)")
if events:
now = Time.clean(Time.now()).timestamp()
now = Time.clean(Time.now())
for i, ev in enumerate(events, start=1):
handler = partial(
@ -133,7 +133,7 @@ async def scrape() -> None:
"url": url,
"logo": logo,
"base": BASE_URL,
"timestamp": now,
"timestamp": now.timestamp(),
"id": tvg_id or "Live.Event.us",
"href": ev["href"],
"link": link,