Crawler.Parser.LinkParser.LinkExpander (Crawler v1.1.2) View Source

Expands a link into a full URL.

Link to this section Summary

Functions

Expands a link into a full URL.

Link to this section Functions

Expands a link into a full URL.

Examples

iex> LinkExpander.expand({"href", "http://hello.world"}, %{})
{"href", "http://hello.world"}

iex> LinkExpander.expand({"href", "page"}, %{referrer_url: "http://hello.world"})
{"link", "page", "href", "http://hello.world/page"}