Skip to content

How to run a spider? #228

Answered by oltarasenko
dogweather asked this question in Q&A
Oct 5, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I think that the most simple way to achieve it is to add the following line to your configuration:
on_spider_closed_callback: fn _, _, _ -> System.halt(1) end,

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dogweather
Comment options

dogweather Oct 9, 2022
Collaborator Author

@dogweather
Comment options

dogweather Oct 18, 2022
Collaborator Author

Answer selected by dogweather
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