Skip to content

Commit

Permalink
merged with click
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrod83 committed Oct 23, 2020
1 parent 1612412 commit 4389023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ IMPORTANT: Unlike other operations(CollectContent,OpenLinks, etc), ClickButton d

const scrollToBottom = new ScrollToBottom({numRepetitions:100,delay:2000})

//Please note that ClickButton does not support Cheerio. Pass a standart querySelector. Also, only the first element is picked(document.querySelector)
const click = new ClickButton('#show-more'{numRepetitions:1,delay:3000})//Being that it's only one click, the delay here just serves the purpose of "giving some time" for the page to load further content.

const image = new DownloadContent('.post-image');
Expand Down

0 comments on commit 4389023

Please sign in to comment.