Skip to content

Commit

Permalink
Add removed scroll lines from the PR- InstaPy#2478
Browse files Browse the repository at this point in the history
  • Loading branch information
uluQulu authored Aug 22, 2018
1 parent a96bc67 commit 983e27f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instapy/like_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ def get_links_for_username(browser,

while len(links) < amount:
initial_links = links
browser.execute_script(
"window.scrollTo(0, document.body.scrollHeight);")
body_elem.send_keys(Keys.HOME)
# update server calls after a scroll request
update_activity()
Expand Down

0 comments on commit 983e27f

Please sign in to comment.