From 3cbf0cd9a532174b1075a67cf4888b59e82c8cca Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 24 Mar 2025 16:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/markdown_to_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/markdown_to_image.py b/utils/markdown_to_image.py index 35b4a17..5492495 100644 --- a/utils/markdown_to_image.py +++ b/utils/markdown_to_image.py @@ -155,7 +155,7 @@ def html_to_image(html_file, output_image): """ with sync_playwright() as p: # TODO 这里使用的比较呆的固定路径,后期优化 - browser = p.chromium.launch(executable_path=r"C:\Users\Liu-OPEN\AppData\Local\Google\Chrome\Application\chrome.exe") + browser = p.chromium.launch(executable_path=r"C:\Users\Liu_WIN10\AppData\Local\Google\Chrome\Application\chrome.exe") page = browser.new_page() # 加载本地的 HTML 文件