parse_useragent: add Mac OS X 10.10 Yosemite

This commit is contained in:
rolux 2014-09-04 18:50:34 +02:00
parent 9edf30085e
commit a0666acf89

View file

@ -134,7 +134,7 @@ UA_REGEXPS = {
'(Linux).+(CentOS|CrOS|Debian|Fedora|Gentoo|Mandriva|MeeGo|Mint|Red Hat|SUSE|Ubuntu|webOS)',
'(CentOS|CrOS|Debian|Fedora|Gentoo|Mandriva|MeeGo|Mint|Red Hat|SUSE|Ubuntu|webOS).+(Linux)',
'(Linux)',
'(Mac OS X) (10.\d)',
'(Mac OS X) (10.\d+)',
'(Mac OS X)',
'(Mac_PowerPC)',
'(Mac_PPC)',
@ -177,6 +177,7 @@ UA_VERSIONS = {
'10.7': '10.7 (Lion)',
'10.8': '10.8 (Mountain Lion)',
'10.9': '10.9 (Mavericks)',
'10.10': '10.10 (Yosemite)',
'40': 'Series 40',
'60': 'Series 60',
'NT 3.1': 'NT 3.1 (3.1)',