These are chat archives for request/request

16th
Feb 2015
Alberto
@albertovillalobos
Feb 16 2015 04:53
I'm having some strange issue, basically building a scraper and I understand async, but I wasn't expecting this:
i have an array of URLs, run a for loop on it and inside I send a request to each URL from which I extract data, if I do one request it works fine, but on a loop, it's like the the urls get mixed up .
For example, sending a request on url1 can give me the response from url2 or url3
simo
@simov
Feb 16 2015 07:04
@albertovillalobos use the async module with the async.each method instead of for loop