This commit is contained in:
doms9 2025-10-30 19:54:06 -04:00
parent ff4daf915f
commit 00000d91dc
3 changed files with 52 additions and 37 deletions

View file

@ -124,10 +124,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
if events:
async with async_playwright() as p:
try:
browser, context = await network.browser(p, browser="brave")
except Exception:
browser, context = await network.browser(p)
browser, context = await network.browser(p, browser="brave")
for i, ev in enumerate(events, start=1):
handler = partial(