This commit is contained in:
caiwx86 2025-07-11 09:20:50 +08:00
parent 3a45a11a65
commit 1d47c245e3
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,8 @@ TIMEOUT = 60
COMIC_INFO_NAME = "ComicInfo.xml"
XSD_FILE = "src/assets/ComicInfo_2.1.xsd"
# 代理配置
PROXY_URL = "http://47.98.225.49:9890"
# PROXY_URL = "http://47.98.225.49:9890"
PROXY_URL = ""
# 日志配置
LOG_FORMAT = '%(asctime)s - %(levelname)s - %(message)s'

View File

@ -107,7 +107,7 @@ class BaseSite(ABC):
CBZUtils().update_cbz_with_new_xml(cbz_path, xml_path.read_text(encoding="utf-8"))
# 更新完成后删除临时生成的ComicInfo.xml
xml_path.unlink()
logger.debug(f"更新 {cbz_path} 的 ComicInfo.xml Count完成")
logger.info(f"更新 {cbz_path} 的 ComicInfo.xml Count完成")
# 临时添加end
logger.debug(f"{chapter.title} 章节已存在")
chapter.status = "downloaded"