UAInspector v0.15.1 UAInspector.Parser behaviour View Source
Parser module to call individual data parsers and aggregate the results.
Link to this section Summary
Functions
Checks if a user agent is a known bot
Checks if a user agent is a HbbTV and returns its version if so
Parses a given user agent string
Parses a user agent without checking for bots
Link to this section Functions
Checks if a user agent is a known bot.
Checks if a user agent is a HbbTV and returns its version if so.
Parses a given user agent string.
Parses a user agent without checking for bots.
Link to this section Callbacks
Parses information from a user agent.
Returns :unknown
if no information is not found in the database.
iex> parse("--- undetectable ---")
:unknown