fix scraping

This commit is contained in:
jxxghp
2024-09-20 12:51:32 +08:00
parent 91fc41261f
commit 117bd80528
5 changed files with 15 additions and 20 deletions

View File

@@ -152,7 +152,7 @@ class LocalStorage(StorageBase):
return False
path_obj = Path(fileitem.path)
if not path_obj.exists():
return False
return True
try:
if path_obj.is_file():
path_obj.unlink()