Crawlee Not scraping when provided with the same link twice
but it doesn't work. Then I try use requestQueue
with maxPageCrawl: 5 config, I got output
what's the problem about my code? and how can I implement this scene?
await enqueueLinks({
globs: typeof config.match === "string" ? [config.match] : config.match,
transformRequestFunction: (request) => {
request.uniqueKey = `${request.url}:${uuid}`;
return request;
}
});const requestQueue = await RequestQueue.open(uuid)
await enqueueLinks({
globs: typeof config.match === "string" ? [config.match] : config.match,
transformRequestFunction: (request) => {
request.uniqueKey = `${request.url}:${uuid}`;
return request;
},
requestQueue
});INFO PlaywrightCrawler: Starting the crawler.
INFO PlaywrightCrawler: Crawling: Page 1 / 5 - URL: https://www.prisma.io/docs...
INFO PlaywrightCrawler: All requests from the queue have been processed, the crawler will shut down.
INFO PlaywrightCrawler: Final request statistics: {"requestsFinished":1,"requestsFailed":0,"retryHistogram":[1],"requestAvgFailedDurationMillis":null,"requestAvgFinishedDurationMillis":32848,"requestsFinishedPerMinute":2,"requestsFailedPerMinute":0,"requestTotalDurationMillis":32848,"requestsTotal":1,"crawlerRuntimeMillis":33028}
INFO PlaywrightCrawler: Finished! Total 1 requests: 1 succeeded, 0 failed. {"terminal":true}
Found 1 files to combine...
data/6c9d4f5a-5629-49fa-b299-ca27de45391f-1.json
Wrote 1 items to data/6c9d4f5a-5629-49fa-b299-ca27de45391f-1.jsonHey @everyone, I'm in https://discord.com/channels/801163717915574323/1430491198145167371 if you want to hop in to discuss the ID verification or anything else, such as the $1M Challenge
ellativity · 14h ago
<@&999256322673496174> <@&1434833581099712576> **IMPORTANT news about your next payout** An email should be landing in your inboxes tomorrow with more info, but the tl;dr is that from now on you need to verify your identity to be paid by Apify. **You will not be able to receive further payments from Apify until you verify your identity.** If you are expecting to be paid by Apify any time soon (e.g. for your December payout or your $1M Challenge rewards payout), you need to open https://console.apify.com/actors/insights/payouts to be guided through verification with our partnered service Dotfile. Have an ID document - like your passport or ID card - ready. Tag <@&1205082186999668788> with any questions, or reply to the email. We will be reminding you regularly for the rest of the month, but the sooner you do this, the less chance any future payments will be affected.
ellativity · 2d ago
**It's the final day for voting in the Reddit Community Vote** If you haven't voted yet, don't forget to upvote your favorite entries today: https://www.reddit.com/r/apify/comments/1q5efwa/reddit_community_vote_is_open_nominate_and_vote/ Help one of your fellow devs win this week's $1M Challenge weekly spotlight prize! <:1M_actor_token:1442585992757379122> <:1M_actor_token:1442585992757379122> <:1M_actor_token:1442585992757379122>
ellativity · 5d ago