jolly-crimson
jolly-crimson2y 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
foreign-sapphire2y ago
you can try doing it after await crawler.run()
jolly-crimson
jolly-crimsonOP2y ago
Ok, understood. Thanks.

Did you find this page helpful?