Furlex v0.2.1 Furlex.Fetcher View Source

A module for fetching body data for a given url

Link to this section Summary

Functions

Fetches a url and extracts the body

Fetches oembed data for the given url

Link to this section Functions

Link to this function fetch(url) View Source
fetch(String.t) :: {:ok, String.t} | {:error, Atom.t}

Fetches a url and extracts the body

Link to this function fetch_oembed(url) View Source
fetch_oembed(String.t) ::
  {:ok, String.t} |
  {:ok, nil} |
  {:error, Atom.t}

Fetches oembed data for the given url