useragent
useragent copied to clipboard
User agent string parser in golang
`go get xojoc.pw/logparse` pulls in `github.com/blang/semver v3.5.1+incompatible` The latest is `github.com/blang/semver/[email protected]`
Seems like SSl certificate is broken @xojoc go get xojoc.pw/useragent: unrecognized import path "xojoc.pw/useragent": https fetch: Get "https://xojoc.pw/useragent?go-get=1": x509: certificate is not valid for any names, but wanted to match...
I dropped this into a little project parsing a lot of strings and find that the fail (nil) output is quite high, about 60%: Some common example strings that did...
This fails to parse: ```Mozilla/5.0 (Unknown; Linux x86_64) Apple WebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1```
This is actually a feature request. Maybe we can also get the OS release name like `Windows 6.1.0` can have `Windows 7`. Maybe? ``` type UserAgent struct { // The...
## Expected behaviour Windows Phone based devices should be detected as “mobile” (`ua.Mobile == true`). ## Actual behaviour 1. Windows Phone based smart phones (such as Lumia) are not detected...