Skip to content

Instantly share code, notes, and snippets.

View tchittick's full-sized avatar

Taylor Chittick tchittick

View GitHub Profile
@tchittick
tchittick / parse_gist.js
Created August 6, 2015 19:20
Recursion through a Cheerio.js object and writing to .CSV
/*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) {