下载图像由log info 改为debug

This commit is contained in:
caiwx86 2025-02-04 02:18:05 +08:00
parent 7eaad769bf
commit dd74704d11

View File

@ -223,7 +223,7 @@ class MangaDownloader:
f.write(await response.read())
# 验证下载的文件是否为有效的图片
if self._is_valid_image(str(save_path)+".downloads"):
logger.info(f"成功下载: {url}")
logger.debug(f"成功下载: {url}")
shutil.move(str(save_path)+".downloads", save_path)
self.cache.set_image(url, await response.read())
return True