討論 » 建立請求

Script request - Scroll crawler

§
發表於:2022-10-22

A script, that a user enters a list of URLs for sites that have infinite scrolling, like twitter. After that, the user presses ENTER or presses a button via a mouse will start this process:

  1. Visits the first URL on the list
  2. When the page fully loads, will automatically scrolls downward. When it hits a stop* and stays that way for a configurable amount of seconds, then load the next URL. If additional content gets loaded and the bottom of the page is moved downwards before the timer ends, reset this timer and continue scrolling.
  3. After reaching the bottom of the page of the last URL, just stop and bring up a alert box indicating it is done

*When the viewport reaches the bottom of the page

發表回覆

登入以回覆

长期地址
遇到问题?请前往 GitHub 提 Issues。