FindSiteIcon

Finds a large icon for a website given a URL.

Usage

case FindSiteIcon.find_icon(url, opts) do
  {:ok, icon_url} -> # A usable icon_url
  {:error, reason} -> # Reason for why the icon_url could not be fetched.

opts is an optional keyword list.

Installation

The package can be installed by adding find_site_icon to your list of dependencies in mix.exs:

def deps do
  [
    {:find_site_icon, "~> 0.3.6"}
  ]
end

The docs can be found at https://hexdocs.pm/find_site_icon.