progressive-amaranthP
Apify & Crawleeโ€ข4y agoโ€ข
7 replies
progressive-amaranth

Puppeteer crawler loop elements lsist

router.addDefaultHandler(async ({ page, request, enqueueLinks,log }) => {
log.info(enqueueing new URLs);
await enqueueLinks({
selector:"div[role='article'] > a",
label: 'detail',//corresponding to handle for processing
});
});
how to I can crawler list item data in list div[role='article']๐Ÿ‘
not get list url to add to queue
Screenshot_from_2022-09-16_16-37-33ss.png
Was this page helpful?