parse_useragent: add Mac OS X 10.10 Yosemite
This commit is contained in:
parent
9edf30085e
commit
a0666acf89
1 changed files with 2 additions and 1 deletions
|
@ -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)',
|
||||
|
|
Loading…
Reference in a new issue