mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
e
bugfix
This commit is contained in:
parent
535ff99142
commit
00000d95a2
8 changed files with 8 additions and 8 deletions
|
|
@ -83,7 +83,7 @@ async def get_events() -> list[dict[str, str]]:
|
|||
|
||||
async def scrape() -> None:
|
||||
if cached_urls := CACHE_FILE.load():
|
||||
urls.update(cached_urls)
|
||||
urls.update({k: v for k, v in cached_urls.items() if v["url"]})
|
||||
|
||||
log.info(f"Loaded {len(urls)} event(s) from cache")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue