From 7b7f67303af23b833252540aa2e5e73ade7e7979 Mon Sep 17 00:00:00 2001 From: home-dev-pookz Date: Tue, 22 Apr 2025 11:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=96=E9=9F=B3=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=A1=B5=E9=9D=A2=E7=9A=84=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B43=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uploader/douyin_uploader/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uploader/douyin_uploader/main.py b/uploader/douyin_uploader/main.py index 6ac8582..56d14cb 100644 --- a/uploader/douyin_uploader/main.py +++ b/uploader/douyin_uploader/main.py @@ -120,7 +120,7 @@ class DouYinVideo(object): try: # 尝试等待第一个 URL await page.wait_for_url( - "https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page", timeout=3) + "https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page", timeout=3000) douyin_logger.info("[+] 成功进入version_1发布页面!") break # 成功进入页面后跳出循环 except Exception: @@ -128,7 +128,7 @@ class DouYinVideo(object): # 如果第一个 URL 超时,再尝试等待第二个 URL await page.wait_for_url( "https://creator.douyin.com/creator-micro/content/post/video?enter_from=publish_page", - timeout=3) + timeout=3000) douyin_logger.info("[+] 成功进入version_2发布页面!") break # 成功进入页面后跳出循环