With Apify/Puppeteer, how can I crawl all pages except those that include a certain word?
Inside of the handlePageFunction, the original code looks like this
await Apify.utils.enqueueLinks({
requestQueue,
page,
pseudoUrls: [
baseurl + '[.*]',
],
});
This crawls all pages. If I want to avoid page URLs that contain "foo", is there anyway I could adjust something within pseudoUrls to fix that?