Is there an online user agent database?

Posted by Gary Richardson on Stack Overflow See other posts from Stack Overflow or by Gary Richardson
Published on 2009-09-21T23:18:24Z Indexed on 2010/03/28 10:53 UTC
Read the original article Hit count: 355

How do you parse your user agent strings? I'm looking to get:

  • Browser
  • Browser Version
  • OS
  • OS Version

from a user agent string. My app is written in perl and was previously using HTTP::BrowserDetect. It's a bit dated and is no longer maintained. I'm in no way tied to using perl for the actual lookup.

I've come to the conclusion that automagic parsing is a lost cause. I was thinking of writing a crud type app to show me a list of unclassified UA's and manually keep them up to date.

Does such an resource already exist that I can tap into? It would be awesome if I could make an HTTP call to look up the user agent info.

Thanks!

© Stack Overflow or respective owner

Related posts about web-applications

Related posts about web-services