Skip to content

dawik/utg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Title Grabber

A little library that retreives the title of a given website.

Features

  • Reads markup chunk-wise, so it's rather fast
  • converts HTML entitites to their UTF-8 counterpart

Build

% rebar3 compile

Tests

% rebar3 eunit --verbose

API

grab(URL) -> string()

grab(URL, Default) -> string()

URL = string() | binary()
Default = term()

Attempts to get the title of URL, returns Default if the title could not be found otherwise throws an exception if an error has occured.

About

Website title grabber written in vanilla Erlang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages