Skip to content

magiknono/flokoison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flokoison

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")

generated doc

screenshot

Resources

Docs

Guides and Parentheses...

basic test

mix test

beautiful docs

mix docs

todo & learn:

  • with & understand parentheses

Installation

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.

Releases

No releases published

Packages

No packages published

Languages