让浏览器等久一点

This commit is contained in:
2025-11-07 02:41:33 +08:00
parent 5b74c78ec3
commit 49e0914416

View File

@ -331,7 +331,9 @@ async def _(quote: str, author: str, img: PIL_Image):
await page.locator('input[name=quote]').fill(quote)
await page.locator('input[name=author]').fill(author)
await page.wait_for_timeout(500)
await page.wait_for_load_state('networkidle')
await page.wait_for_timeout(500)
out = await WebRenderer.render(
konaweb('makequote'),