调整sehuatang内容

This commit is contained in:
liuwei
2025-12-22 17:04:45 +08:00
parent e484263cb9
commit 1d94bbcc35
2 changed files with 29 additions and 44 deletions

View File

@@ -58,7 +58,7 @@ def fetch_and_create_pdf(url):
options.add_argument('--disable-dev-shm-usage')
# 如果依然在 Headless 触发检测,建议第一次运行设为 False 手动通过
driver = uc.Chrome(options=options, headless=True)
driver = uc.Chrome(options=options)
logger.info(f"正在访问: {url}")
driver.get(url)