arouel / uadetector

UADetector is a library to identify over 190 different desktop and mobile browsers and 130 other User-Agents like feed readers, email clients and multimedia players. In addition, even more than 400 robots like BingBot, Googlebot or Yahoo Bot can be identified.
http://uadetector.sourceforge.net/
Apache License 2.0
246 stars 100 forks source link

Device branch and model #90

Open kennethjor opened 9 years ago

kennethjor commented 9 years ago

Is it possible to extract device specific information from the UAS using uadetector? Considering the string below:

Mozilla/5.0 (Linux; Android 4.4.2; HTC One_M8 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.114 Mobile Safari/537.36

It parses correctly as a Chrome Android Smartphone, but is there any way to get the device manufacturer "HTC" and device model "One"?

stefanjauker commented 9 years ago

+1

arouel commented 9 years ago

Sorry, the current database does not provide such patterns to do this. Since the database is not maintained by http://user-agent-string.info anymore we need to do this for our own to improve it.