This commit is contained in:
caiwx86 2024-10-28 13:37:48 +08:00
parent e594b8dca7
commit cb3a54ea38

View File

@ -71,7 +71,7 @@ class ImgDownloadPipeline(BaseImagesPipeline):
image_url, image_path = [ image_item["image_url"], image_item["image_path"]]
if image_item["image_type"] == "Icon":
image_path = super().get_file_path(item, result_type="icon_cache")
if fu.exists(image_path): return False
if fu.exists(image_path): return
# 图像(含加密图像)存在
if super().image_scramble_exits(item, image_path):
logging.info(f"file exists: IMAGE_STORE {image_path}")