jolly-crimson•2y ago
How to trigger a function when the Crawler has finished running?
Once the crawler has finished running and has crawled all pages from a website, how do we know it's finished running so we can trigger some other function?
2 Replies
foreign-sapphire•2y ago
you can try doing it after
await crawler.run()
jolly-crimsonOP•2y ago
Ok, understood. Thanks.