Skip to content

Instantly share code, notes, and snippets.

View hackingsearch's full-sized avatar

Ryan Smith hackingsearch

View GitHub Profile
@hackingsearch
hackingsearch / test.js
Created May 2, 2012 15:00 — forked from geronimod/test.js
Scraper with zombie.js
var user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20';
var Browser = require("zombie");
var browser = new Browser({userAgent: user_agent, debug: true, waitFor: 10000});
var url = 'https://accounts.google.com/ServiceLoginAuth';
var root_path = 'https://www.google.com/webmasters/tools/';
var login = 'foo@gmail.com';
var password = 'foo';