Skip to content

Commit 7b3a3e6

Browse files
committed
isAIBot table
1 parent 4291313 commit 7b3a3e6

File tree

8 files changed

+45
-23
lines changed

8 files changed

+45
-23
lines changed

docs/.vitepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default defineConfig({
4848
items: [
4949
{ text: 'Why UAParser.js', link: '/intro/why-ua-parser-js' },
5050
{
51-
text: 'Quick Start',
51+
text: 'Quickstarts',
5252
link: '/intro/quick-start/quick-start',
5353
collapsed: true,
5454
items: [

docs/api/submodules/helpers/is-ai-bot.md

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,45 @@
44

55
Check whether user-agent is an AI crawlers
66

7-
```csv:no-line-numbers
8-
# Current list of AI Crawlers:
9-
AI2_BOT, AMAZON_BOT, ANTHROPIC_AI, ANTHROPIC_CLAUDE_BOT,
10-
ANTHROPIC_CLAUDE_SEARCHBOT, ANTHROPIC_CLAUDE_WEB, APPLE_BOT,
11-
APPLE_BOT_EXTENDED, BRAVE_BOT, BYTEDANCE_BYTESPIDER, BYTEDANCE_TIKTOKSPIDER,
12-
COHERE_TRAINING_DATA_CRAWLER, COMMON_CRAWL_CCBOT, COVEO_BOT, DATAFORSEO_BOT,
13-
DEEPSEEK_BOT, DIFFBOT, GOOGLE_EXTENDED, GOOGLE_OTHER, GOOGLE_OTHER_IMAGE,
14-
GOOGLE_OTHER_VIDEO, GOOGLE_CLOUDVERTEXBOT, HIVE_IMAGESIFTBOT,
15-
HUAWEI_PETALBOT, HUAWEI_PANGUBOT, HUGGINGFACE_BOT, KANGAROO_BOT,
16-
FIRECRAWL_AGENT, META_FACEBOOKBOT, META_EXTERNALAGENT, OPENAI_GPTBOT,
17-
OPENAI_SEARCH_BOT, PERPLEXITY_BOT, REPLICATE_BOT, RUNPOD_BOT,
18-
SB_INTUITIONS_BOT, SEMRUSH_BOT_CONTENTSHAKE, TIMPI_BOT, TOGETHER_BOT,
19-
HUNTER_VELENPUBLICWEBCRAWLER, VERCEL_V0BOT, WEBZIO_OMGILI,
20-
WEBZIO_OMGILI_BOT, WEBZIO_EXTENDED, XAI_BOT, YOU_BOT, ZHIPU_CHATGLM_SPIDER
21-
```
7+
| **Provider** | **UA Token** |
8+
| ------------- | --------------------------------------------------------------------------------------------------- |
9+
| AI2 | `AI2Bot` |
10+
| Amazon | `Amazonbot` |
11+
| Anthropic | `anthropic-ai`, `ClaudeBot`, `Claude-SearchBot`, `Claude-Web` |
12+
| Apple | `Applebot`, `Applebot-Extended` |
13+
| Brave | `Bravebot` |
14+
| ByteDance | `Bytespider`, `TikTokSpider` |
15+
| Cohere | `cohere-training-data-crawler` |
16+
| Common Crawl | `CCBot` |
17+
| Coveo | `Coveobot` |
18+
| DataForSEO | `DataForSeoBot` |
19+
| DeepSeek | `DeepSeekBot` |
20+
| Diffbot | `Diffbot` |
21+
| Google | `Google-Extended`, `GoogleOther`, `GoogleOther-Image`, `GoogleOther-Video`, `Google-CloudVertexBot` |
22+
| Hive AI | `ImagesiftBot` |
23+
| Huawei | `PanguBot`, `PetalBot` |
24+
| Hugging Face | `HuggingFace-Bot` |
25+
| Kangaroo | `Kangaroo Bot` |
26+
| Mendable.ai | `FirecrawlAgent` |
27+
| Meta | `FacebookBot`, `meta-externalagent` |
28+
| OpenAI | `GPTBot`, `OAI-SearchBot` |
29+
| Perplexity | `PerplexityBot` |
30+
| Replicate | `Replicate-Bot` |
31+
| RunPod | `RunPod-Bot` |
32+
| SB Intuitions | `SBIntuitionsBot` |
33+
| SEMrush | `SemrushBot-OCOB` |
34+
| Timpi | `Timpibot` |
35+
| Together AI | `Together-Bot` |
36+
| Hunter.io | `VelenPublicWebCrawler` |
37+
| Vercel | `v0bot` |
38+
| Webz.io | `omgili`, `omgilibot`, `Webzio-Extended` |
39+
| xAI | `xAI-Bot` |
40+
| You.com | `YouBot` |
41+
| Zhipu AI | `ChatGLM-Spider` |
42+
43+
2244
::: tip
23-
See list of possible values for `Crawler` enum [here](/api/submodules/enums/extension#extension-browsername-crawler).
45+
See list of all possible values for `Crawler` [here](/api/submodules/extensions/crawlers).
2446
:::
2547

2648
## Code Example

docs/intro/quick-start/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Quick Start
1+
# Quickstarts
22

33
Choose your ~~fighter~~ development strategy:
44

docs/intro/quick-start/using-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Quick Start](/intro/quick-start/quick-start) : Using Command Line
1+
# [Quickstarts](/intro/quick-start/quick-start) : Using Command Line
22

33
You can use [npx🡭](https://docs.npmjs.com/cli/v10/commands/npx) to run UAParser.js from the command line without installing the package:
44

docs/intro/quick-start/using-es-modules-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Quick Start](/intro/quick-start/quick-start) : Using ESM / TypeScript
1+
# [Quickstarts](/intro/quick-start/quick-start) : Using ESM / TypeScript
22

33
To get started, install UAParser.js using npm
44

docs/intro/quick-start/using-html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Quick Start](/intro/quick-start/quick-start) : Using HTML
1+
# [Quickstarts](/intro/quick-start/quick-start) : Using HTML
22
---
33

44
Download UAParser.js from the official GitHub repository: [ua-parser-js🡭](https://github.com/faisalman/ua-parser-js/raw/refs/heads/master/dist/ua-parser.pack.js), then place the following script tag in your HTML file to include the library:

docs/intro/quick-start/using-jquery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Quick Start](/intro/quick-start/quick-start) : Using jQuery (`$.ua`)
1+
# [Quickstarts](/intro/quick-start/quick-start) : Using jQuery (`$.ua`)
22

33
Although written in vanilla JavaScript, UAParser.js automatically detects the presence of [jQuery🡭](https://jquery.com/) (or [Zepto🡭](https://zeptojs.com/)) and creates a `$.ua` object in addition to the `window.UAParser` constructor.
44

docs/intro/quick-start/using-node-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Quick Start](/intro/quick-start/quick-start) : Using Node.js
1+
# [Quickstarts](/intro/quick-start/quick-start) : Using Node.js
22

33
In a server-side environment like Node.js, UAParser.js can parse the `User-Agent` and `Sec-CH-UA-*` headers of incoming HTTP requests.
44

0 commit comments

Comments
 (0)