e
This commit is contained in:
parent
217d309586
commit
00000d9e85
2 changed files with 3 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
|
||||
log.info(f"Loaded {cached_count} event(s) from cache")
|
||||
|
||||
log.info(f'Scraping from "https://streamcenter.xyz"')
|
||||
log.info('Scraping from "https://streamcenter.xyz"')
|
||||
|
||||
events = await get_events(client, set(cached_urls.keys()))
|
||||
|
||||
|
|
|
|||
|
|
@ -187,6 +187,8 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
"link": ev["link"],
|
||||
}
|
||||
|
||||
cached_urls[key] = entry
|
||||
|
||||
if url:
|
||||
valid_count += 1
|
||||
urls[key] = entry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue