Skip to content

Commit 74ef71c

Browse files
committed
[extensions][helpers] Add new bots: Asana, bitlybot, Chrome-Lighthouse, DeepSeekBot, DuckDuckGo-Favicons-Bot, Elastic, Zoombot
1 parent 9e6dff6 commit 74ef71c

File tree

3 files changed

+73
-0
lines changed

3 files changed

+73
-0
lines changed

src/helpers/ua-parser-helpers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ const isAIBot = (resultOrUA) => [
7171
// DataForSeo
7272
'dataforseobot',
7373

74+
// DeepSeek
75+
'deepseekbot',
76+
7477
// Diffbot
7578
'diffbot',
7679

test/data/ua/extension/crawler.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,16 @@
359359
"type" : "crawler"
360360
}
361361
},
362+
{
363+
"desc" : "DeepSeekBot",
364+
"ua" : "DeepSeekBot",
365+
"expect" :
366+
{
367+
"name" : "DeepSeekBot",
368+
"version" : "undefined",
369+
"type" : "crawler"
370+
}
371+
},
362372
{
363373
"desc" : "Diffbot",
364374
"ua" : "Diffbot/0.1",
@@ -389,6 +399,26 @@
389399
"type" : "crawler"
390400
}
391401
},
402+
{
403+
"desc" : "DuckDuckGo-Favicons-Bot",
404+
"ua" : "DuckDuckGo-Favicons-Bot/1.0",
405+
"expect" :
406+
{
407+
"name" : "DuckDuckGo-Favicons-Bot",
408+
"version" : "1.0",
409+
"type" : "crawler"
410+
}
411+
},
412+
{
413+
"desc" : "Elastic",
414+
"ua" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/124.0.6367.29 Safari/537.36 Elastic/Synthetics",
415+
"expect" :
416+
{
417+
"name" : "Elastic",
418+
"version" : "undefined",
419+
"type" : "crawler"
420+
}
421+
},
392422
{
393423
"desc" : "Exabot",
394424
"ua" : "Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)",

test/data/ua/extension/fetcher.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
"type" : "fetcher"
1010
}
1111
},
12+
{
13+
"desc" : "Asana",
14+
"ua" : "Asana/1.4.0 WebsiteMetadataRetriever",
15+
"expect" :
16+
{
17+
"name" : "Asana",
18+
"version" : "1.4.0",
19+
"type" : "fetcher"
20+
}
21+
},
1222
{
1323
"desc" : "Better Uptime Bot",
1424
"ua" : "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36",
@@ -29,6 +39,16 @@
2939
"type" : "fetcher"
3040
}
3141
},
42+
{
43+
"desc" : "Bit.ly",
44+
"ua" : "bitlybot/3.0 (+http://bit.ly/)",
45+
"expect" :
46+
{
47+
"name" : "bitlybot",
48+
"version" : "3.0",
49+
"type" : "fetcher"
50+
}
51+
},
3252
{
3353
"desc" : "Blueno",
3454
"ua" : "acebookexternalhit/1.1 (compatible; Blueno/1.0; +http://naver.me/scrap)",
@@ -69,6 +89,16 @@
6989
"type" : "fetcher"
7090
}
7191
},
92+
{
93+
"desc" : "Chrome-Lighthouse",
94+
"ua" : "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4590.2 Mobile Safari/537.36 Chrome-Lighthouse",
95+
"expect" :
96+
{
97+
"name" : "Chrome-Lighthouse",
98+
"version" : "undefined",
99+
"type" : "fetcher"
100+
}
101+
},
72102
{
73103
"desc" : "DuckAssistBot",
74104
"ua" : "DuckAssistBot/1.2; (+http://duckduckgo.com/duckassistbot.html)",
@@ -288,5 +318,15 @@
288318
"version" : "2.23.20.0",
289319
"type" : "fetcher"
290320
}
321+
},
322+
{
323+
"desc" : "Zoombot",
324+
"ua" : "Mozilla/5.0 (compatible; Zoombot/1.0; +https://zoom.us; crawler@domain.com)",
325+
"expect" :
326+
{
327+
"name" : "Zoombot",
328+
"version" : "1.0",
329+
"type" : "fetcher"
330+
}
291331
}
292332
]

0 commit comments

Comments
 (0)