delay to avoid ip block
parent
20f2deba04
commit
48d25bb69e
|
@ -4969,7 +4969,7 @@ def urbtix_main(driver, url, config_dict):
|
||||||
for waiting_url in waiting_for_access_url:
|
for waiting_url in waiting_for_access_url:
|
||||||
if waiting_url in url:
|
if waiting_url in url:
|
||||||
# delay to avoid ip block.
|
# delay to avoid ip block.
|
||||||
#time.sleep(0.5)
|
time.sleep(1.0)
|
||||||
try:
|
try:
|
||||||
driver.get('https://www.urbtix.hk/')
|
driver.get('https://www.urbtix.hk/')
|
||||||
except Exception as exec1:
|
except Exception as exec1:
|
||||||
|
|
Loading…
Reference in New Issue