CA
graceful-blue
Multiple instance - PlaywrightCrawler, is it possible?
If I am calling const crawler = new PlaywrightCrawler({}) is there any state being shared between the instances?
3 Replies
Someone will reply to you shortly. In the meantime, this might help:
other-emerald•6mo ago
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.
graceful-blueOP•6mo ago
I noticed if you add maxRequestsPerCrawl this does impact multiple crawlers i.e. it seems to set a global state