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
/*An object created to parse through a large number of HTML | |
blocks quickly. Used with cheerio.js. Begin via: | |
parse.run($('some-div')[0]) | |
*/ | |
var fs = require('fs'), | |
cheerio = require('cheerio'); | |
var Parse = function(block) { |