fix
This commit is contained in:
parent
e594b8dca7
commit
cb3a54ea38
@ -71,7 +71,7 @@ class ImgDownloadPipeline(BaseImagesPipeline):
|
|||||||
image_url, image_path = [ image_item["image_url"], image_item["image_path"]]
|
image_url, image_path = [ image_item["image_url"], image_item["image_path"]]
|
||||||
if image_item["image_type"] == "Icon":
|
if image_item["image_type"] == "Icon":
|
||||||
image_path = super().get_file_path(item, result_type="icon_cache")
|
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):
|
if super().image_scramble_exits(item, image_path):
|
||||||
logging.info(f"file exists: IMAGE_STORE {image_path}")
|
logging.info(f"file exists: IMAGE_STORE {image_path}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user