Downloads a image of the website and updates the image every X sec
Find a file
2018-10-06 14:36:29 +02:00
package.json Publish a README, with the script 2018-10-06 14:34:54 +02:00
README.md Publish a README, with the script 2018-10-06 14:34:54 +02:00
start.sh Publish a README, with the script 2018-10-06 14:34:54 +02:00

Website to image Sync

Download a website to an image and keep the image update with the latest downloaded version of the website.

This is just a small bash script wrapper around pageres

Feel free to copy paste the script if that works better for you or use pageres directly

Example

./start.sh https://score.volleystream.no/scoreboard?matchId=test 1280x720 scoreboard 2 1

Arguments

  1. URL - the url to go to an take a picture of
  2. SCREENSIZE - the size of the picture you want
  3. FILENAME - the name of the file you want to generate - without an extention, the scripts will add a .png extention at the end
  4. SLEEP - how long to wait between each screenshot is finished to it starts up again.
  5. DELAY (in sec) - if the page use some transtion effects, you may want to delay the screenshot X number of secound before a screenshot is taken