This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var casper = require("casper").create(); | |
var x = require('casper').selectXPath; | |
var fs = require("fs"); | |
// Trying to scrape everything doesn't seem to work; eventually the page | |
// just goes blank. It makes sense to scrape by year anway--that way | |
// each year can go in a separate JSON file. | |
var years = [2010, 2011, 2013, 2014]; | |
var ids = []; |