Favicon Finder v0.1.0 Link

Common helpers for normalizing and modifying URLs. Stolen from: https://github.com/Anonyfox/elixir-scrape/

Summary

Functions

Takes the base path from a fully qualified absolute URL and expands the path of an unknown URL with it. iex> Scrape.Link.expand(“/some/path”, “//example.com/ab/c”) “http://example.com/some/path”

Functions

expand(target, base)

Takes the base path from a fully qualified absolute URL and expands the path of an unknown URL with it. iex> Scrape.Link.expand(“/some/path”, “//example.com/ab/c”) “http://example.com/some/path”