私が要求している2つのURLがあり、Bluebird promiseライブラリを使用して、URLのhtmlをcheerioで処理したいと考えています。結果のhtmlを取得できないようです。スプレッド内で何を使用すればよいですか?
let url1 = request('http://example1.com')
let url2 = request('http://example2.com')
Promise.all([url1, url2])
.spread(function (url1RqRes, url2RqRes) {
// How do I get access to the response html here ???
})
.catch(function (err) {
console.log(err)
});