Skip to content

Is it possible to run a crawler forever? #1638

Answered by B4nan
galaczi asked this question in Q&A
Discussion options

You must be logged in to vote

In latest, version you can use keepAlive: true in crawler options, that will keep the crawler running even if the request queue is empty. You can shut it down via crawler.teardown() afterwards.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@galaczi
Comment options

Answer selected by galaczi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants