Skip to content

adtile/clj-user-agent-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-user-agent-parser

Parses browser information from user agent header

Build Status

Build Status

Usage

(require '[user-agent-parser.parser :as ua])

;Note! You should download user agent file from http://user-agent-string.info/ and put it to classpath.
(def parser (ua/create "ua-data.ini"))

(ua/parse parser "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JWR66Y) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.94 Safari/537.36")

About

Parses browser information from user agent header

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published