Discussions » Demandes de création de scripts

Script request - Scroll crawler

§
Posté le: 22/10/2022

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

Poster une réponse

Connectez-vous pour poster une réponse.