1
0
Fork 0
mirror of synced 2024-07-01 04:20:54 +12:00

Update script.py

Mark duplicate files as being downloaded to prevent them from being downloaded again
This commit is contained in:
ComradeEcho 2020-12-03 19:20:20 -06:00 committed by GitHub
parent 79078d8e0b
commit 5f7a69cdd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,6 +165,7 @@ def download(submissions):
except FileAlreadyExistsError:
print("It already exists")
GLOBAL.downloadedPosts.add(details['POSTID'])
duplicates += 1
except ImgurLoginError: