Created
April 2, 2020 22:07
-
-
Save josemariagarcia95/a7aca4e429e8c7a0ceaed8f8b7e4d9d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Loop through the images in the grid | |
for image_mosaic in chrome_driver.find_elements_by_class_name("mosaic-item"): | |
time.sleep(1) | |
# Open an image | |
chrome_driver.find_element_by_xpath("//a[@class='node-link']").click() | |
# Update its date | |
date_update() | |
n_photos += 1 | |
# Go back to the grid | |
chrome_driver.find_element_by_xpath("//a[@class='back']").click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment