Skip to content

Archive web pages with all relevant assets or save as a single file HTML

License

Notifications You must be signed in to change notification settings

sultaniman/dust

Repository files navigation

Dust

NOTE: Please note this project is still under development so you might experience issues.

Installation 💾

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

Usage 🧠

"https://github.com"
|> Dust.get()
|> Dust.persist("AWESOME/PAGE.HTML")

"https://times.com"
|> Dust.get(
  headers: headers,
  proxy: %Proxy{...} | "socks5://user:pass@awesome.host:port",
  max_retries: 3
)
|> Dust.persist(result, "AWESOME/PAGE.HTML")

Documentation

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/dust.

Assets 💄

https://www.flaticon.com/free-icon/dust_867847

About

Archive web pages with all relevant assets or save as a single file HTML

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages