intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 91133f091c68868c949646cb002c6ecd58446d94
parent 197493a6dcffe52258daa95211ae5fda5ea6dfc3
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 15 Nov 2016 09:22:01 +0100

Get some output

Diffstat:
Mscreencap_iitc.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/screencap_iitc.js b/screencap_iitc.js @@ -81,6 +81,7 @@ function storeCookies() { } function firePlainLogin(SACSID, CSRF) { + console.log("firePlainLogin") page.open('https://www.ingress.com/intel', function (status) { if (status !== 'success') {quit('unable to connect to remote server')} var link = page.evaluate(function () { @@ -93,6 +94,7 @@ function firePlainLogin(SACSID, CSRF) { } function login(l, p) { + console.log("Login") page.evaluate(function (l) { document.getElementById('Email').value = l; }, l); @@ -137,6 +139,7 @@ function login(l, p) { } function afterPlainLogin(IntelURL, search) { + console.log("afterPlainLogin") page.viewportSize = { width: '1920', height: '1080' }; page.open(IntelURL, function(status) { if (status !== 'success') {quit('unable to connect to remote server')}