Furlex.Fetcher (Furlex v0.5.0) 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

Specs

fetch(String.t(), List.t()) ::
  {:ok, String.t(), Integer.t()} | {:error, Atom.t()}

Fetches a url and extracts the body

Link to this function

fetch_oembed(url, opts \\ [])

View Source

Specs

fetch_oembed(String.t(), List.t()) ::
  {:ok, String.t()} | {:ok, nil} | {:error, Atom.t()}

Fetches oembed data for the given url