Skip to content
Collection of webbot(ish) code
Erlang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README
html.erl

README

Beginnings of Erlang code for doing webbot-like stuff.

`html:meta(URL)` returns a list of key/value tuples:

* title - The title of the HTML page
* description - Any meta description content (empty string if none)
* firstp - Text content of first paragraph on the page

This depends on the trane SAX HTML parser, with a minor modification
of my own to allow `wget` to be invoked externally.

* https://github.com/macintux/trane
* https://github.com/massemanet/trane
You can’t perform that action at this time.