Iteration of 50 implemented to the value of d on exception

master
Pedro Sá Couto 6 years ago
parent a8bff1286f
commit 679bc689af

@ -26,6 +26,8 @@ driver.get(url)
time.sleep(3)
d = 1
e = [52,102,152,202,252,302,352,402]
f = 0
i = 0
@ -89,7 +91,8 @@ while True:
except:
print("This is an exception")
driver.find_element_by_css_selector('#load-more-instances > a:nth-child(1)').click()
d = 52
d = (e[f])
f+=1
pass
text_file.close()

Loading…
Cancel
Save