aboutsummaryrefslogtreecommitdiff
path: root/backend/tolData/eol/downloadImgs.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/tolData/eol/downloadImgs.py')
-rwxr-xr-xbackend/tolData/eol/downloadImgs.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/tolData/eol/downloadImgs.py b/backend/tolData/eol/downloadImgs.py
index 7ca4e79..4d658e7 100755
--- a/backend/tolData/eol/downloadImgs.py
+++ b/backend/tolData/eol/downloadImgs.py
@@ -22,8 +22,6 @@ highest EOL ID.
""", formatter_class=argparse.RawDescriptionHelpFormatter)
parser.parse_args()
-# In testing, this script downloaded about 70k images, over a few days
-
imagesListDb = "imagesList.db"
def getInputEolIds():
eolIds = set()
@@ -95,7 +93,6 @@ def downloadImg(url, outFile):
for idx in range(nextIdx, len(eolIds)):
eolId = eolIds[idx]
# Get image urls
- imgDataList = []
ownerSet = set() # Used to get images from different owners, for variety
exitLoop = False
query = "SELECT content_id, copy_url, license, copyright_owner FROM images WHERE page_id = ?"