primary-violetP
Apify & Crawlee3y ago
14 replies
primary-violet

How to reset a queue?

While developing a scraper I'm often facing this issue:
1) I add initial page to the queue
2) I run the scraper, which marks the url done
3) I want to re-run the scraper on the same page

I know I can keep renaming the queue name, but is there a way to reset/clear the queue instead?

if I call drop() on it, it simply fails with:
Request queue with id: 7ae80a2d-3b06-4a8f-929d-4fbfc5947e81 does not exist.
Was this page helpful?