Download -> UASparser -> UASparser for Python


NEW version: UASparser for Python External link

UASparser is a class for the uas.ini datafile from Hicro Kee (http://hicrokee.com/ External link),
modified by Michal Molhanec (http://molhanec.net External link).

Features

  • Fast
  • Auto updated datfile and cache from remote server with version checking
  • Released under the GNU

QuickStart

  • Download the UASparser package and unpack it
  • Create cache dir. Change permissions of cache dir, must be writable for Python process.
  • Create a .py file with the following content:
Download latest version      

UASparser for Python
 
new version
Edition by Hicro Kee does not work properly!
 

Result

return = {
        'typ':'unknown',
        'ua_family':'unknown',
        'ua_name':'unknown',
        'ua_url':'unknown',
        'ua_company':'unknown',
        'ua_company_url':'unknown',
        'ua_icon':'unknown.png',
        'ua_info_url':'unknown',
        'os_family':'unknown',
        'os_name':'unknown',
        'os_url':'unknown',
        'os_company':'unknown',
        'os_company_url':'unknown',
        'os_icon':'unknown.png',
}



UASparser use
AlterianGumGum, Inc.MailChimp (Rocket Science Group)e-planning (Caraytech S.A.)




© 2005-2014 Jaroslav Mallat External link - Fluffy hearts External link - Recently Added UserAgent to DB - RSS - Contact