This commit is contained in:
caiwx86 2025-02-04 18:16:38 +08:00
parent 9f52400416
commit 30be4fdca8
2 changed files with 3 additions and 3 deletions

View File

@ -93,10 +93,10 @@ class BaseSite(ABC):
cbz_path = FileNaming.chapter_cbz(manga_info=manga_info,chapter=chapter)
old_cbz_path = FileNaming.old_chapter_cbz(manga_info=manga_info,chapter=chapter)
if os.path.exists(cbz_path):
logger.info(f"{chapter.title} 章节已存在")
logger.debug(f"{chapter.title} 章节已存在")
chapter.status = "downloaded"
if os.path.exists(old_cbz_path):
logger.info(f"{chapter.title} Old章节存在")
logger.debug(f"{chapter.title} Old章节存在")
if not os.path.exists(os.path.dirname(cbz_path)): os.makedirs(cbz_path)
CBZUtils()._clean_old_cbz(old_cbz_path)
if os.path.exists(old_cbz_path):

View File

@ -50,7 +50,7 @@ class MangaManager:
async for result in site.download_manga(url):
if result['type'] == 'info':
manga_info = result['data']
logger.info(f"漫画信息: {manga_info}")
logger.debug(f"漫画信息: {manga_info}")
# 使用 MangaItem 保存数据
manga_item = MangaItem(info=manga_info, chapters=[])