elixir exo
- Get body response of an http|https request with the given url in parameter
- Scrap text of a given url with given css selectors of a html node
- Scrap link of a given url with given css selectors of a html node
## examples with http or https
Flokoison.get_website_body("https://elixir-lang.org/")
Flokoison.scrape_text("https://elixir-lang.org/","#sidebar-primary > div.widget.news > h3 > a")
Flokoison.scrape_link("https://elixir-lang.org/","#sidebar-primary > div.widget.news > h3 > a")
mix test
mix docs
- with & understand parentheses
If available in Hex, the package can be installed
by adding flokoison
to your list of dependencies in mix.exs
:
def deps do
[
{:flokoison, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/flokoison.