|
@ -174,6 +174,12 @@ class fdb_spider(object): |
|
|
except Exception as e: |
|
|
except Exception as e: |
|
|
print(e, 'no cookies to accept..') |
|
|
print(e, 'no cookies to accept..') |
|
|
pass |
|
|
pass |
|
|
|
|
|
try: |
|
|
|
|
|
accept_button = driver.find_element("xpath","//button[contains(text(), 'Accept')]") |
|
|
|
|
|
accept_button.click() |
|
|
|
|
|
except Exception as e: |
|
|
|
|
|
print(e, 'no cookies to accept..') |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
for i in range(len(entry_jsiteration_var_list)): |
|
|
for i in range(len(entry_jsiteration_var_list)): |
|
|
time.sleep(1) |
|
|
time.sleep(1) |
|
|