Skip to content

Instantly share code, notes, and snippets.

View AJamesPhillips's full-sized avatar

AJP / James Phillips AJamesPhillips

View GitHub Profile
@AJamesPhillips
AJamesPhillips / gist:6899560
Created October 9, 2013 11:05
tldextract_cache
c__builtin__
frozenset
p1
((lp2
Vchikuho.fukuoka.jp
p3
aVthruhere.net
p4
aV\u0c2d\u0c3e\u0c30\u0c24\u0c4d
p5
fs = require('fs');
function scrape() {
var url = "some local url with asset served";
var date = new Date();
var stamp = date.getTime();
console.log("scraping url: " + url);
//Screenshot 1 - Routes and Traffic Time Table
var page = require('webpage').create();
@AJamesPhillips
AJamesPhillips / output
Created November 3, 2012 11:57
phantomjs1.7 returning html elements from page
complete
on page, got: 3 results: [object HTMLLIElement],[object HTMLLIElement],[object HTMLLIElement]
From page, got: 3 results: [object Object],,