Skip to content

Instantly share code, notes, and snippets.

@penkoba
penkoba / IngressBot.py
Last active December 3, 2015 16:32 — forked from yoshimov/IngressBot.py
import os
import asyncio
import xml.etree.ElementTree as ET
from Core.Commands.Dispatcher import DispatcherSingleton
ingress_log="/home/nomura/ingress-comm/ingress-comm.log"
ingress_faction="RESISTANCE"
log_dict_size=10
/* SETTINGS */
var l='';
var p='';
var area = 'https://www.ingress.com/intel?ll=35.5841133,139.4988137&z=14';
var v = 30000; //Delay between capturing screenshots, in milliseconds (1000 ms = 1 s)
var reloadtime = 60000 * 90;
var width = 900; //Picture width
var height = 500; //Picture height
var folder = './'; //Folder where to save screenshots, with / (or \) on the end. '.' means current folder.
phantom.injectJs('settings.js');