Purging storage using npx crawlee run does not work
I am trying to develop a crawlee scraper locally and it that regard I need to easily purge all data from the default and named datasets as well as request queues to test my changes.
However, it does not purge storage.
I intend to use the crawlee code in an Apify Actor.
Do you have any suggestions of what might be the issue?
2 Replies
equal-aqua•2y ago
You can use the drop method:
https://crawlee.dev/api/core/class/Dataset#drop
Each Apify Actor run has its own default storage
harsh-harlequinOP•2y ago
thanks, is it also possible to do it from the cli when starting the crawlee scraper? 🙂