Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upQuestion: how to stream array of urls into request? #71
Comments
This comment has been minimized.
This comment has been minimized.
kiddkai
commented
Nov 25, 2014
|
Request is a async function, try this way request(url, function(err, res, body) {
cb(null, body);
}) |
right9ctrl
closed this
Sep 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bondifrench commentedSep 20, 2014
I am trying to get my head around streams. I have an array of urls and want to call for each url, request, which returns a csv file, that i would like then to process.
I have tried to do it like this:
but it doesn't work, what would be the correct way to implement this? Thx