Reduce wait time

This commit is contained in:
powe97 2024-03-04 17:03:13 -05:00
parent faf303ec27
commit 976b553b14
No known key found for this signature in database
GPG Key ID: 7D1663B10978D1BA
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ def jump_to_page(curr_page, to_page, num_pages, postback_type, pagination_type):
print(f"Jumping to {postback_type} page {curr_page}", file=sys.stderr)
wait(EC.staleness_of(page))
sleep(random.uniform(3, 6))
sleep(random.uniform(400, 1900) / 1000)
page = driver.find_element("id", postback_type)
return curr_page, page