View Source Crawler.Parser.HtmlParser (Crawler v1.5.0)

Parses HTML files.

Summary

Functions

Parses HTML files.

Functions

Parses HTML files.

Examples

iex> HtmlParser.parse(
iex>   "<a href='http://hello.world'>Link</a>",
iex>   %{}
iex> )
[{"a", [{"href", "http://hello.world"}], ["Link"]}]

iex> HtmlParser.parse(
iex>   "<script type='text/javascript'>js</script>",
iex>   %{assets: ["js"]}
iex> )
[]