Module z_url_metadata

Discover metadata about an url.

Copyright © 2014-2021 Marc Worrell

Authors: Marc Worrell.

Description

Discover metadata about an url.

Data Types

z_url_metadata()

z_url_metadata() = #url_metadata{}

Function Index

fetch/1Fetch metadata information for the URL.
fetch/2
filename/2
header/2
html_meta/1
p/2Fetch properties of the fetched metadata.

Function Details

fetch/1

fetch(Url::binary() | string()) -> {ok, z_url_metadata()} | {error, term()}

Fetch metadata information for the URL

fetch/2

fetch(Url::binary() | string(), Options::z_url_fetch:options()) -> {ok, z_url_metadata()} | {error, term()}

filename/2

filename(Url::binary() | string(), Hs::list()) -> binary() | undefined

header/2

header(H::binary() | string(), Url_metadata::z_url_metadata()) -> binary() | undefined

html_meta/1

html_meta(Data) -> any()

p/2

p(Ks::atom() | binary() | [atom() | binary()], MD::z_url_metadata()) -> [binary()] | binary() | undefined

Fetch properties of the fetched metadata


Generated by EDoc