Skip to content

Commit ea5d09c

Browse files
author
David McHealy
committed
Updating to latest from upstream.
1 parent c6c27aa commit ea5d09c

22 files changed

+2981
-107
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ All tests are ported directly from that library and must all pass. It is intende
55
this will be in lock step with upstream, though it is possible some user agents will
66
be exist here that are not accepted upstream, this should be rare.
77

8-
The latest update commit from parent php project was (Tue May 28 16:05:19 2024 +0300)
9-
https://github.com/matomo-org/device-detector/commit/8edc89ef5643295777041a7fad8249b0d538e745
8+
The latest update commit from parent php project was (Fri Jun 21 16:41:08 2024 +0200)
9+
https://github.com/matomo-org/device-detector/commit/5e05e6735e9552a19b005ff17ab2c6a8090a940c
1010

1111
If you wish to contribute non code fixes, it is recommended that you contribute
1212
your patches and tests upstream, then request updates here to bring these projects into parity.

regexes/bots.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,18 @@
132132
- regex: 'Applebot'
133133
name: 'Applebot'
134134
category: 'Crawler'
135-
url: 'https://support.apple.com/en-us/HT204683'
135+
url: 'https://support.apple.com/en-us/119829'
136136
producer:
137137
name: 'Apple Inc'
138-
url: 'https://www.apple.com'
138+
url: 'https://www.apple.com/'
139+
140+
- regex: 'iTMS'
141+
name: 'iTMS'
142+
category: 'Crawler'
143+
url: 'https://support.apple.com/en-us/119829'
144+
producer:
145+
name: 'Apple Inc'
146+
url: 'https://www.apple.com/'
139147

140148
- regex: 'AppSignalBot'
141149
name: 'AppSignalBot'
@@ -1132,6 +1140,14 @@
11321140
name: 'Nuzzel'
11331141
url: 'https://www.nuzzel.com/'
11341142

1143+
- regex: 'NodePing'
1144+
name: 'NodePing'
1145+
category: 'Site Monitor'
1146+
url: 'https://nodeping.com'
1147+
producer:
1148+
name: 'NodePing'
1149+
url: 'https://nodeping.com'
1150+
11351151
- regex: 'Octopus [0-9]'
11361152
name: 'Octopus'
11371153

@@ -4504,10 +4520,15 @@
45044520
category: 'Security Checker'
45054521
url: 'https://ducks.party/'
45064522

4523+
- regex: 'DepSpid/[\d.]+'
4524+
name: 'DepSpid'
4525+
category: 'Crawler'
4526+
url: 'https://web.archive.org/web/20080321224033/http://about.depspid.net/'
4527+
45074528
# Generic bots
45084529
- regex: 'nuhk|grub-client|Download Demon|SearchExpress|Microsoft URL Control|borg|altavista|dataminr\.com|teoma|oegp|http%20client|htdig|mogimogi|larbin|scrubby|searchsight|semanticdiscovery|snappy|vortex(?!(?: Build|Plus| CM62| HD65))|zeal(?!ot)|dataparksearch|findlinks|BrowserMob|URL2PNG|ZooShot|GomezA|Google SketchUp|Read%20Later|7Siters|centuryb\.o\.t9|InterNaetBoten|EasyBib AutoCite|Bidtellect|tomnomnom/meg|cortex|Re-re Studio|adreview|AHC/|NameOfAgent|Request-Promise|ALittle Client|Hello,? world|wp_is_mobile|0xAbyssalDoesntExist|Anarchy99|^revolt|nvd0rz|xfa1|Hakai|gbrmss|fuck-your-hp|IDBTE4M CODE87|Antoine|Insomania|Hells-Net|b3astmode|Linux Gnu \(cow\)|Test Certificate Info|iplabel|Magellan|TheSafex?Internetx?Search|Searcherweb|kirkland-signature|LinkChain|survey-security-dot-txt|infrawatch|Time/|r00ts3c-owned-you|nvdorz|Root Slut|NiggaBalls|BotPoke|^xenu|^(?:chrome|firefox|Abcd|Dark|KvshClient|url|Zeus|ZmEu)$'
45094530
name: 'Generic Bot'
45104531

45114532
# Generic detections
4512-
- regex: '[a-z0-9_-]*(?:(?<!cu|power[ _]|m[ _])bot(?![ _]TAB|[ _]?5[0-9]|[ _]Senior|[ _]Junior)|analyzer|appengine|archiver?|checker|collector|crawl|crawler|(?<!node-|uclient-|Mikrotik/\d\.[x\d] |electron-)fetch(?:er)?|indexer|inspector|monitor|(?<!Microsoft |banshee-)project(?!or)|(?<!Google Wap |Blue )proxy|research|resolver|robots|(?<!Cam)scanner|scraper|script|searcher|(?<!-)security|spider(?! 8)|study|transcoder|uptime|user[ _]?agent|validator)(?:[^a-z]|$)'
4533+
- regex: '[a-z0-9_-]*(?:(?<!cu|power[ _]|m[ _])bot(?![ _]TAB|[ _]?5[0-9]|[ _]Senior|[ _]Junior)|analyzer|appengine|archiver?|checker|collector|crawl|crawler|(?<!node-|uclient-|Mikrotik/\d\.[x\d] |electron-)fetch(?:er)?|indexer|inspector|monitor|(?<!Microsoft |banshee-)project(?!or)|(?<!Google Wap |Blue |SpeedMode; )proxy|research|resolver|robots|(?<!Cam)scanner|scraper|script|searcher|(?<!-)security|spider(?! 8)|study|transcoder|uptime|user[ _]?agent|validator)(?:[^a-z]|$)'
45134534
name: 'Generic Bot'

regexes/client/browsers.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
66
###############
77

8+
# KUN (https://api.dcmys.kr/etc/historical/kun_3.0.1_cp_개발자_가이드_v1.1.pdf)
9+
- regex: 'KUN/(\d+[\.\d]+)'
10+
name: 'KUN'
11+
version: '$1'
12+
813
# Naenara Browser (https://en.wikipedia.org/wiki/Naenara_(browser))
914
- regex: 'NaenaraBrowser(?:/(\d+[\.\d]+))?'
1015
name: 'Naenara Browser'
@@ -1073,8 +1078,6 @@
10731078
- regex: 'PHX/(?:(\d+[\.\d]+))?'
10741079
name: 'Phoenix Browser'
10751080
version: '$1'
1076-
engine:
1077-
default: 'Blink'
10781081

10791082
# PrivacyWall (https://play.google.com/store/apps/details?id=org.privacywall.browser)
10801083
- regex: 'PrivacyWall/(?:(\d+[\.\d]+))?'
@@ -2200,7 +2203,7 @@
22002203
version: '$1'
22012204
engine:
22022205
default: 'WebKit'
2203-
- regex: 'iP(?:hone|ad);.+YaBrowser(?:/(\d+[\.\d]*)) Mobile'
2206+
- regex: 'iP(?:hone|ad).*YaBrowser(?:/(\d+[\.\d]*))'
22042207
name: 'Yandex Browser'
22052208
version: '$1'
22062209
engine:
@@ -2374,7 +2377,11 @@
23742377
versions:
23752378
28: 'Blink'
23762379

2377-
- regex: '(?:DDG-Android-|DuckDuckGo/|ddg_android/)(\d+[\.\d]*)'
2380+
# DuckDuckGo Privacy Browser
2381+
- regex: 'DuckDuckGo/(\d+[\.\d]*)'
2382+
name: 'DuckDuckGo Privacy Browser'
2383+
version: '$1'
2384+
- regex: '(?:DDG-Android-|ddg_android/)(\d+[\.\d]*)'
23782385
name: 'DuckDuckGo Privacy Browser'
23792386
version: '$1'
23802387
engine:

regexes/client/pim.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
name: 'Thunderbird'
2828
version: '$1'
2929

30+
# Spicebird (http://www.spicebird.org/)
31+
- regex: 'Spicebird/(\d+\.[\.\d]+)'
32+
name: 'Spicebird'
33+
version: '$1'
34+
3035
- regex: 'Airmail(?: (\d+[\.\d]+))?'
3136
name: 'Airmail'
3237
version: '$1'
@@ -155,3 +160,8 @@
155160
- regex: 'mailapp/(\d+\.[\.\d]+)'
156161
name: 'mailapp'
157162
version: '$1'
163+
164+
# Gmail
165+
- regex: 'Android-Gmail'
166+
name: 'Gmail'
167+
version: ''

0 commit comments

Comments
 (0)