From bb0b34d99a060dcc5a51b1bf0881d05ecdd2a821 Mon Sep 17 00:00:00 2001 From: johlanse Date: Mon, 21 Feb 2022 21:55:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20#21=20=E4=BF=AE=E6=94=B9=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=86=E6=95=B0=E9=A1=B5=E9=9D=A2=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=B8=BA10s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/respond.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/respond.go b/lib/respond.go index 297ed20..8ec0425 100644 --- a/lib/respond.go +++ b/lib/respond.go @@ -58,12 +58,11 @@ func (c *Core) RespondDaily(cookies []Cookie, model string) { _, err = page.Goto(MyPointsUri, playwright.PageGotoOptions{ Referer: playwright.String(MyPointsUri), - Timeout: playwright.Float(1000), + Timeout: playwright.Float(10000), WaitUntil: playwright.WaitUntilStateDomcontentloaded, }) if err != nil { log.Errorln("跳转页面失败") - return } switch model {