Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update bots-list.ts

Steven Teyd1d524fba5c0
diff --git a/apps/web/lib/middleware/utils/bots-list.ts b/apps/web/lib/middleware/utils/bots-list.ts
index 307675bc4d..988f696a68 100644
--- a/apps/web/lib/middleware/utils/bots-list.ts
+++ b/apps/web/lib/middleware/utils/bots-list.ts
@@ -1,11 +1,14 @@
export const UA_BOTS = [
- "bot", // most bots & crawlers
+ "bot", // most bots
+ "crawler", // most crawlers
"metatags", // Dub.co Metatags API (https://api.dub.co/metatags)
"chatgpt", // ChatGPT
"bluesky", // Bluesky crawler
"facebookexternalhit", // Facebook crawler
+ "meta-externalagent", // Meta external agent
"WhatsApp", // WhatsApp crawler
"google", // Google crawler
+ "linkedin", // LinkedIn crawler
"baidu", // Baidu crawler
"bing", // Bing crawler
"msn", // MSN crawler
@@ -31,6 +34,18 @@ export const UA_BOTS = [
"cron-job",
"InternetMeasurement",
"HostTracker",
+
+ // AI bots
+ "anthropic-ai", // Anthropic AI
+ "Claude-Web", // Claude AI
+ "Applebot-Extended", // Applebot Extended
+ "Bytespider", // Bytespider
+ "CCBot", // Common Crawl
+ "ChatGPT-User", // ChatGPT User
+ "cohere", // Cohere AI
+ "perplexity", // Perplexity AI
+ "Omigili", // Omigili
+ "timpi", // Timpi.io
];
export const IP_BOTS = [