To build need running this command
$ mix escript.build
First you need build the application, after that you can execute the command to running.
$ ./crawler_elixir
After that, will generator a file links.json
in root folder with all links.
Some changes in the code help to running more fast, example:
This code is responsable to request de page, parse de html and find the links.
The time to running all crawler and save the json
In this code I change to leave fater the code. I used the best tools of Elixir to running in parallel all requests.
If witch this change we have decreased more than half the time.