Andy McKay

Sep 03, 2008

User agent parser


I've posted I was looking for a user agent parser in Python. Yay I found one. I ended up at the browsercaps project which looks like its probably the biggest and most conclusive list of user agents out there. From that I found a Django snippet and there we go an excellent user agent parser in a few mins. Only slight problem seems to be the time taken to run the parser, but I might move that to an extra process anyway.