urlpreview v0.0.2 Urlpreview

Documentation for Urlpreview.

Summary

Functions

Returns true or false based on if a URL is valid to fetch meta data from In order for a site to be valid it must have the http or https protocol specified

Functions

is_valid_url?(url)

Returns true or false based on if a URL is valid to fetch meta data from In order for a site to be valid it must have the http or https protocol specified

Examples

iex> Urlpreview.is_valid_url?("https://www.google.com")
true

iex> Urlpreview.is_valid_url?("mysite.com")
false
preview(url)