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: