java-user-agent-detection
java-user-agent-detection copied to clipboard
Some code to deduce an OS/Platform/Browser out of a user-agent string
net.pieroxy.ua user_agent_detector 2017.09.24.17.00.GMT
When `UserAgentDetector.parseUserAgent()` with null or short header, it returns an empty result which has default value. IMHO, this value could be served as a Static instance to reduce the creation....
Under which license do you publish this library?
The current supported devicetypes are here https://github.com/pieroxy/java-user-agent-detection/blob/master/src/main/java/net/pieroxy/ua/detection/DeviceType.java#L7 It would be good if this library could support additionally Kindle, Set top Box, Connected TV, Crawlers etc
Now that the Browser object and the RenderingEngine object are split, we need to align both detections accordingly. For example: Chrome on iOS should be the Chrome Browser with the...
Hi, All our projects are built with Maven, so for use it would be very convenient to have the library available via Maven (Central). Valentijn
This page lists 2 user agent that are adwords bot user-agent: https://support.google.com/adwords/answer/2404197 * Android: Mozilla/5.0 (Linux; Android 5.0; SM-G920A) AppleWebKit (KHTML, like Gecko) Chrome Mobile Safari (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html) *...
Add to a testcase occurring NullPointerException. I'll fix it.
The performance tester just display an average time for now. It should also display: * Median * 95th percentile * Max But also * All this for mobile, desktop, bots....
Release a C# version of the lib. A "home made" translator from C# to Java will genertate the code and run tests automatically. Code compatible dotnet core.