From 76d2c33963e1a9cfe60b58071ff33cbd2d9d1e4b Mon Sep 17 00:00:00 2001 From: gaoxu Date: Fri, 16 Aug 2024 14:39:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=96=E9=9F=B3web=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=94=B9=E7=89=88=EF=BC=8C=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=8C=89=E9=92=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uploader/douyin_uploader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/douyin_uploader/main.py b/uploader/douyin_uploader/main.py index 26efe96..c0c61c7 100644 --- a/uploader/douyin_uploader/main.py +++ b/uploader/douyin_uploader/main.py @@ -105,7 +105,7 @@ class DouYinVideo(object): douyin_logger.info(f'[-] 正在打开主页...') await page.wait_for_url("https://creator.douyin.com/creator-micro/content/upload") # 点击 "上传视频" 按钮 - await page.locator("[name='upload-btn']").set_input_files(self.file_path) + await page.locator(".container-F4b8d7 input").set_input_files(self.file_path) # 等待页面跳转到指定的 URL while True: