e
This commit is contained in:
parent
760aeb9174
commit
00000d9799
5 changed files with 19 additions and 14 deletions
|
|
@ -33,6 +33,8 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
|
||||
log.info(f'Scraping from "{BASE_URL}"')
|
||||
|
||||
now = Time.now().timestamp()
|
||||
|
||||
if not (data := await fetch_m3u8(client)):
|
||||
log.warning("No M3U8 data received")
|
||||
return
|
||||
|
|
@ -62,7 +64,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
"logo": logo,
|
||||
"id": tvg_id or "Live.Event.us",
|
||||
"base": "https://tvpass.org",
|
||||
"timestamp": Time.now().timestamp(),
|
||||
"timestamp": now,
|
||||
}
|
||||
|
||||
urls[key] = entry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue