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

Parses HTML files.

Link to this section Summary

Functions

Parses HTML files.

Link to this section 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> )
[]