下载图像由log info 改为debug
This commit is contained in:
parent
7eaad769bf
commit
dd74704d11
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user