调整色花堂地址,休眠10秒再继续,等待页面加载

This commit is contained in:
liuwei
2025-09-10 16:12:01 +08:00
parent e9539f5968
commit 334f34b6fd

View File

@@ -266,7 +266,7 @@ def add_pdf_encryption(pdf_file, password="4000"):
def pdf_file_path():
try:
url = 'https://www.sehuatang.net/forum.php'
url = 'https://www.sehuatang.net/forum.php?mod=forumdisplay&fid=103&filter=typeid&typeid=481'
pdf_path = fetch_and_create_pdf(url)
if pdf_path:
logger.info(f"返回的PDF文件路径{pdf_path}")