RequestList

I am crawling a sitemap then pushing all the urls to a requestList, which is not processing the urls.
Code below

let newArray = []
for(let i = 0; i < result.length; i++){
newArray.push({url: result[i] , userData: { label: "DETAIL" }})
}
// console.log(newArray)

await (await Apify.openRequestList(page.url, newArray )).initialize();
Was this page helpful?