fix tab buildup issue
This commit is contained in:
parent
2e52c37bcb
commit
29d3ee3f87
@ -42,7 +42,7 @@ const crawler = new PlaywrightCrawler({
|
||||
maxRequestsPerCrawl: 2000,
|
||||
// Add delay between requests to slow down the process
|
||||
minConcurrency: 1,
|
||||
maxConcurrency: 1,
|
||||
maxConcurrency: 5,
|
||||
navigationTimeoutSecs: 60,
|
||||
// Add delay between requests (in milliseconds)
|
||||
requestHandlerTimeoutSecs: 100,
|
||||
|
||||
@ -189,5 +189,8 @@ router.addHandler(
|
||||
applicationLink, // External or same-page URL after click
|
||||
jobDescription,
|
||||
});
|
||||
|
||||
// close all pages
|
||||
await page.context().close();
|
||||
}
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user