A&C
Apify & Crawlee
A
Apify & Crawlee
•
13mo ago
abstract-purple
Multiple instance - PlaywrightCrawler, is it possible?
If I am calling const crawler
= new PlaywrightCrawler
(
{
}
) is there any state being shared between the instances
?
Apify & Crawlee
Join
This is the official developer community of Apify and Crawlee.
13,249
Members
View on Discord
Was this page helpful?
Yes
No
H
Hall
•
12/11/24, 3:30 PM
Someone will reply to you shortly
. In the meantime
, this might help
:
E
Exp
•
12/11/24, 3:46 PM
No
, there is no state being shared between instances of PlaywrightCrawler when you create a new instance using const crawler
= new PlaywrightCrawler
(
{
}
)
. Each instance of PlaywrightCrawler operates independently and maintains its own internal state
.
A
abstract-purple
OP
•
12/11/24, 4:19 PM
I noticed if you add maxRequestsPerCrawl this does impact multiple crawlers i
.e
. it seems to set a global state