From ac80cd2ddd74af8d94b2f9be15b6883db9068286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B7=B3=E6=B7=B3?= <961150665@qq.com> Date: Sat, 9 Aug 2025 16:15:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=B0=8F=E7=BA=A2?= =?UTF-8?q?=E4=B9=A6=E6=A0=87=E9=A2=98=E5=AE=9A=E4=BD=8D=E5=85=83=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uploader/xiaohongshu_uploader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/xiaohongshu_uploader/main.py b/uploader/xiaohongshu_uploader/main.py index 8c0a7d6..704769d 100644 --- a/uploader/xiaohongshu_uploader/main.py +++ b/uploader/xiaohongshu_uploader/main.py @@ -163,7 +163,7 @@ class XiaoHongShuVideo(object): # 这里为了避免页面变化,故使用相对位置定位:作品标题父级右侧第一个元素的input子元素 await asyncio.sleep(1) xiaohongshu_logger.info(f' [-] 正在填充标题和话题...') - title_container = page.locator('div.input.titleInput').locator('input.d-text') + title_container = page.locator('div.plugin.title-container').locator('input.d-text') if await title_container.count(): await title_container.fill(self.title[:30]) else: