From 58d54dd30c5f151d7f6652d007e11a2b59e86025 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 6 May 2025 17:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sehuatang/shehuatang.py | 2 +- xiuren/meitu_dl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sehuatang/shehuatang.py b/sehuatang/shehuatang.py index 0b752ec..7e1478c 100644 --- a/sehuatang/shehuatang.py +++ b/sehuatang/shehuatang.py @@ -57,7 +57,7 @@ def fetch_and_create_pdf(url): "utils", "chromedriver", "chromedriver.exe" ) else: # Linux - chrome_driver_path = 'chromedriver' # 使用系统PATH中的chromedriver + chrome_driver_path = '/usr/bin/chromedriver' # 使用系统PATH中的chromedriver try: if os.name == 'nt' and not os.path.exists(chrome_driver_path): diff --git a/xiuren/meitu_dl.py b/xiuren/meitu_dl.py index c6dd0d8..75f7d3a 100644 --- a/xiuren/meitu_dl.py +++ b/xiuren/meitu_dl.py @@ -90,7 +90,7 @@ def fetch_images(post_url): "utils", "chromedriver", "chromedriver.exe" ) else: # Linux - chrome_driver_path = 'chromedriver' # 使用系统PATH中的chromedriver + chrome_driver_path = '/usr/bin/chromedriver' # 使用系统PATH中的chromedriver # 如果本地没有chromedriver.exe,则使用默认方式 if not os.path.exists(chrome_driver_path):