From e156592d3448c625e3881164161464db15f0e1e5 Mon Sep 17 00:00:00 2001 From: zy Date: Mon, 11 Aug 2025 23:15:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8A=E4=BC=A0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=90=8E=EF=BC=8C=E6=9B=B4=E5=A4=9A=E7=9A=84=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E6=97=B6=E9=97=B4=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FIX: #1 --- xiaohongshu/publish.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xiaohongshu/publish.go b/xiaohongshu/publish.go index d6fcd83..a80835e 100644 --- a/xiaohongshu/publish.go +++ b/xiaohongshu/publish.go @@ -90,7 +90,7 @@ func uploadImages(page *rod.Page, imagesPaths []string) error { uploadInput.MustSetFiles(imagesPaths...) // 等待上传完成 - time.Sleep(1 * time.Second) + time.Sleep(3 * time.Second) return nil } @@ -110,7 +110,7 @@ func submitPublish(page *rod.Page, title, content string) error { submitButton := page.MustElement("div.submit div.d-button-content") submitButton.MustClick() - time.Sleep(5 * time.Second) + time.Sleep(3 * time.Second) return nil }