Is there a method for pause/continue or stop crawl? #2414
Answered
by
janbuchar
lamysafari
asked this question in
Q&A
-
it seems like only it won't stop until all the requests are processed . Is there a method to control when to stop manually? |
Beta Was this translation helpful? Give feedback.
Answered by
janbuchar
Apr 10, 2024
Replies: 1 comment 8 replies
-
If you're running it from the command line, just interrupting the crawler with Ctrl+C will actually pause it. You can then resume it with |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then your second best option may be to run crawlee in a subprocess and send sigint to it when you want to pause it - that is essentially the same as what happens when you press CTRL+C in the command line. I don't think you can pause the crawler programmatically without heavily relying on implementation details.