Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var async = require('async')
var request = require('request')
var urls = process.argv.slice(2)
console.log('urls', urls), get, function(err, results) {
if (err) return console.error(err)
console.log('results', results)
function get (url, cb) {
request(url, function(err, res, body) {
cb(err, body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment