If I am calling const crawler = new PlaywrightCrawler({}) is there any state being shared between the instances?
h
Hall
12/11/2024, 3:30 PM
Someone will reply to you shortly. In the meantime, this might help:
e
Exp
12/11/2024, 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.
j
Jack
12/11/2024, 4:19 PM
I noticed if you add maxRequestsPerCrawl this does impact multiple crawlers i.e. it seems to set a global state