adverse-sapphire
adverse-sapphire2y 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
ratty-blush
ratty-blush2y ago
you can try doing it after await crawler.run()
adverse-sapphire
adverse-sapphireOP2y ago
Ok, understood. Thanks.

Did you find this page helpful?