Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandhunt committed Jan 27, 2020
1 parent 3339268 commit 1e9ef5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -273,8 +273,8 @@ def doeshtmlelementexist(selectedel):
onlyScrollDown = True
exists = True
timeout = 300 # <-- Amount of seconds to run the whole thing
clickTime = 0.7 # <--- Amount of time to wait between each click
scrollTime = 0.7 # <--- Amount of time to wait between each scroll
clickTime = 2 # <--- Amount of time to wait between each click
scrollTime = 1 # <--- Amount of time to wait between each scroll
start_time = datetime.now()
cur_scrollheight = driver.execute_script("return document.body.scrollHeight")
new_scrollheight = cur_scrollheight
Expand Down

0 comments on commit 1e9ef5c

Please sign in to comment.