Furlex v0.3.1 Furlex View Source

Furlex is a structured data extraction tool written in Elixir.

It currently supports unfurling oEmbed, Twitter Card, Facebook Open Graph, JSON-LD and plain ole’ HTML <meta /> data out of any url you supply.

Link to this section Summary

Functions

Unfurls a url

Link to this section Types

Link to this type t() View Source
t() :: %Furlex{canonical_url: String.t, facebook: Map.t, json_ld: List.t, oembed: nil | Map.t, other: Map.t, status_code: Integer.t, twitter: Map.t}

Link to this section Functions

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

Unfurls a url

unfurl/1 fetches oembed data if applicable to the given url’s host, in addition to Twitter Card, Open Graph, JSON-LD and other HTML meta tags.