This commit is contained in:
doms9 2025-09-17 19:35:28 -04:00
parent bfaf613dfa
commit 00000d9769
11 changed files with 662 additions and 590 deletions

View file

@ -15,10 +15,10 @@ from .utils import (
LOGOS,
TZ,
capture_req,
firefox,
get_base,
get_logger,
load_cache,
new_browser,
now,
safe_process_event,
write_cache,
@ -58,7 +58,7 @@ async def refresh_api_cache(
async def process_event(url: str, url_num: int) -> str | None:
async with async_playwright() as p:
browser, context = await firefox(p)
browser, context = await new_browser(p)
page = await context.new_page()