user-agent-string project will end on November 30, 2014.
The new version can be found at udger.com

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
Mailkit (Xland. CZ, spol. s r.o.)DirectIQ, LLC.e-planning (Caraytech S.A.)DEVSENSE s.r.o.




© 2005-2014 udger.com External link - fluffyhearts.cz External link - Recently Added UserAgent to DB - RSS - Contact