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 6e26f8f5911fce283737f21c21ece5fb2dfba685
parent 7bed487f5392cf2dbf99050827c9fded9cf15fd3
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Tue, 15 Nov 2016 19:01:00 +0100

Not shure if funtion needs to be run
Diffstat:
Mscreencap_iitc.js | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/screencap_iitc.js b/screencap_iitc.js @@ -114,9 +114,9 @@ function login(l, p) { page.evaluate(function () { document.querySelector("#next").click(); }); -// page.evaluate(function () { -// document.getElementById('gaia_loginform').submit(); -// }); + page.evaluate(function () { + document.getElementById('gaia_loginform').submit(); + }); window.setTimeout(function () { if (page.url.substring(0,40) === 'https://accounts.google.com/ServiceLogin') { quit('login failed: wrong email and/or password'); @@ -128,7 +128,8 @@ function login(l, p) { }); } if (page.url.substring(0,44) === 'https://accounts.google.com/signin/challenge') { - twostep = system.stdin.readLine(); + //twostep = system.stdin.readLine(); + console.log("twostep Bug") } // if (twostep) { // page.evaluate(function (code) {