Content-Length: 264825 | pFad | https://github.com/leoxiong/ingress-intel-timelapse

67C1A024 GitHub - leoxiong-zzz/ingress-intel-timelapse: PhantomJS script for automated borderless Intel Map screenshots
Skip to content

leoxiong-zzz/ingress-intel-timelapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Ingress Intel Timelapse

This is a PhantomJS script to render screenshots of borderless Ingress Intel Maps. It can be used in conjunction with task schedulers to periodically take screenshots to create GIF timelapse for operations.

GIF timelapse of Enlightened operation

How to setup

  1. Install PhantomJS from a repo or download from site

    # apt-get install phantomjs

  2. Save and configure screenshot.js

  3. Create script for scheduling

    Shell script

    #!/bin/bash
    for ((i = 0; i < 96; i += 0)) do
    	phantomjs "screenshot.js" &
    	sleep 15m
    done

    Batch script

    for /L %%i IN (1,0,96) do (
    	start phantomjs.exe "screenshot.js"
    	timeout /t 900 /nobreak
    )
  4. Execute script

    Linux

    $ ./scheduler.sh

    Windows

    scheduler.bat

Creating GIF

  1. Install ImageMagick from a repo or download from site

    # apt-get install imagemagick

  2. Create GIF

    $ convert -delay 20 -loop 0 *.png timelapse.gif

Tips

  • The 'SACSID' (session ID) and 'csrftoken' (cross-site request forgery token) cookies can be found by using your browser's developer console.
  • The URL for the map can be located by clicking 'Link' in the top right corner.

Disclaimer

By using this script, you accept that I (Leo Xiong) will not be held responsible for any violations of the Ingress Terms of Service which may result in the suspension or ban of your Ingress account.

Please be considerate of the Ingress servers and set a reasonably long interval in between screenshots.

About

PhantomJS script for automated borderless Intel Map screenshots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/leoxiong/ingress-intel-timelapse

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy