Add more time when interactive
This commit is contained in:
parent
a479e1586f
commit
503abb86a6
@ -58,7 +58,10 @@ def call_website(url,interactive=False):
|
|||||||
|
|
||||||
print(element.text)
|
print(element.text)
|
||||||
# print(href)
|
# print(href)
|
||||||
|
if(interactive):
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
else:
|
||||||
|
time.sleep(300)
|
||||||
|
|
||||||
driver.close()
|
driver.close()
|
||||||
return os.path.basename(href)
|
return os.path.basename(href)
|
||||||
|
Loading…
Reference in New Issue
Block a user