NOTE: Please note this project is still under development so you might experience issues.
If available in Hex, the package can be installed
by adding dust
to your list of dependencies in mix.exs
:
def deps do
[
{:dust, "~> 0.0.2-dev"}
]
end
"https://github.com"
|> Dust.get()
|> Dust.persist("AWESOME/PAGE.HTML")
"https://times.com"
|> Dust.get(
headers: headers,
proxy: %Proxy{...} | "socks5://user:[email protected]:port",
max_retries: 3
)
|> Dust.persist(result, "AWESOME/PAGE.HTML")
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/dust.