Companion code for the article at http://toddhayton.com/2015/03/20/scraping-with-casperjs/ Usage $ casperjs scraper.js