From 4510fbba8357fc541b1b6229c78ffaf6a350a2db Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Sun, 14 Dec 2025 15:49:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=88=AA=E5=9B=BE?= =?UTF-8?q?=E5=8F=AA=E8=83=BD=E6=88=AA=E5=8F=96=E5=8C=BA=E5=9F=9F=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E6=94=B9=E4=B8=BA=E6=88=AA=E5=8F=96?= =?UTF-8?q?=E6=95=B4=E4=B8=AA=E7=BD=91=E9=A1=B5=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 full_page=False 改为 full_page=True,使截图能够捕获完整的网页内容而不仅仅是可见区域。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- screenshot_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenshot_worker.py b/screenshot_worker.py index d49b081..70c76a5 100644 --- a/screenshot_worker.py +++ b/screenshot_worker.py @@ -111,7 +111,7 @@ def take_screenshot(config): # 截图 print(f"[截图进程] 截图保存到: {screenshot_path}", flush=True) - page.screenshot(path=screenshot_path, full_page=False, type='jpeg', quality=85) + page.screenshot(path=screenshot_path, full_page=True, type='jpeg', quality=85) # 验证截图文件 if os.path.exists(screenshot_path) and os.path.getsize(screenshot_path) > 1000: