fetch_favicon v0.1.3 FetchFavicon View Source
Used to retrieve a favicon from a website.
Link to this section Summary
Functions
Tries to obtain a favicon for the site. It first tries the url/favicon.ico (for speed). Then it tries to find a path to an icon in the HTML and then fetch that. Lastly it uses the google favicon service to retrieve a favicon
Link to this section Functions
Tries to obtain a favicon for the site. It first tries the url/favicon.ico (for speed). Then it tries to find a path to an icon in the HTML and then fetch that. Lastly it uses the google favicon service to retrieve a favicon.
If you do not pass http:// or https://, http:// is assumed.
Returns {:ok, image} if successful and {:error, "failed to find image"} if unsuccessful.