From 79db56e0e2b44161456ca8fc4666433e3368cbce Mon Sep 17 00:00:00 2001 From: "pookz@stme" Date: Tue, 3 Sep 2024 16:54:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E5=A4=8D=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=8F=B7cookie=E9=AA=8C=E8=AF=81=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uploader/tencent_uploader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/tencent_uploader/main.py b/uploader/tencent_uploader/main.py index d99a439..6baeee3 100644 --- a/uploader/tencent_uploader/main.py +++ b/uploader/tencent_uploader/main.py @@ -41,7 +41,7 @@ async def cookie_auth(account_file): # 访问指定的 URL await page.goto("https://channels.weixin.qq.com/platform/post/create") try: - await page.wait_for_selector('div.title-name:has-text("视频号小店")', timeout=5000) # 等待5秒 + await page.wait_for_selector('div.title-name:has-text("微信小店")', timeout=5000) # 等待5秒 tencent_logger.error("[+] 等待5秒 cookie 失效") return False except: