Skip to content

Instantly share code, notes, and snippets.

View pgunsolley's full-sized avatar

Patrick Gunsolley pgunsolley

  • Overland Park, KS
View GitHub Profile
@pgunsolley
pgunsolley / topkeywords.js
Created September 28, 2017 04:17 — forked from elliotbonneville/topkeywords.js
Find top keywords associated with a Google search with this Node.js application.
var request = require("request"),
cheerio = require("cheerio"),
url = "https://www.google.com/search?q=data+mining",
corpus = {},
totalResults = 0,
resultsDownloaded = 0;
function callback () {
resultsDownloaded++;