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 UA_BOTS list

Steven Teyae315aee987d
diff --git a/apps/web/lib/middleware/utils/bots-list.ts b/apps/web/lib/middleware/utils/bots-list.ts
index 7d8aa649aa..f7fe07fa79 100644
--- a/apps/web/lib/middleware/utils/bots-list.ts
+++ b/apps/web/lib/middleware/utils/bots-list.ts
@@ -1,6 +1,17 @@
export const UA_BOTS = [
+ // generic bot UA name patterns
"bot", // most bots
"crawler", // most crawlers
+ "spider", // most spiders
+ "http", // HTTP clients and libraries (e.g., Apache-HttpClient, Go-http-client, etc.)
+ "scraper", // most scrapers
+ "fetch", // most fetch libraries
+ "curl", // most curl libraries
+ "wget", // most wget libraries
+ "python", // most python libraries
+ "node", // most node libraries – e.g. node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
+ "ruby", // most ruby libraries
+
"chatgpt", // ChatGPT
"bluesky", // Bluesky crawler
"facebookexternalhit", // Facebook crawler
@@ -15,7 +26,6 @@ export const UA_BOTS = [
"slurp", // Slurp crawler
"yandex", // Yandex crawler
"MetaInspector", // metatags.io
- "Go-http-client", // Go-http-client/1.1 is a bot: https://user-agents.net/string/go-http-client-1-1
"iframely", // https://iframely.com/docs/about (used by Notion, Linear)
"H1cbA69", // internal links/metatags API
@@ -26,7 +36,6 @@ export const UA_BOTS = [
"vkShare",
"Slackbot",
"Tumblr",
- "python",
"FeedBurner",
"upptime",
"Hyperping",
@@ -39,18 +48,62 @@ export const UA_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
// more bots detected by Vercel
- "node", // node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
"ShortLinkTranslate",
- "okhttp",
+
+ // Additional legitimate crawlers from user-agents.net/bots (non-bot/spider names only)
+ "BingPreview", // Bing link preview
+ "facebookcatalog", // Facebook catalog crawler
+ "Embedly", // Embedly link preview
+ "Scrapy", // Scrapy web scraping framework
+ "axios", // axios HTTP client library
+ "Guzzle", // PHP Guzzle HTTP client
+ "Postman", // Postman API client
+ "Insomnia", // Insomnia REST client
+ "Newman", // Newman (Postman CLI runner)
+ "Qwantify", // Qwant search engine
+ "Wayback", // Wayback Machine
+ "heritrix", // Heritrix web crawler
+ "nutch", // Apache Nutch
+ "seokicks", // SEOkicks robot
+ "sistrix", // Sistrix crawler
+ "searchmetrics", // Searchmetrics
+ "linkdex", // Linkdex
+ "opensiteexplorer", // Open Site Explorer
+ "spyfu", // SpyFu
+ "serpstat", // Serpstat
+ "cognitiveseo", // CognitiveSEO
+ "seobility", // Seobility
+ "seositecheckup", // SeoSiteCheckup
+ "woorank", // WooRank
+ "gtmetrix", // GTmetrix
+ "pingdom", // Pingdom
+ "statuscake", // StatusCake
+ "site24x7", // Site24x7
+ "monitis", // Monitis
+ "keynote", // Keynote
+ "gomez", // Gomez
+ "neustar", // Neustar
+ "catchpoint", // Catchpoint
+ "webpagetest", // WebPageTest
+ "speedcurve", // SpeedCurve
+ "dareboost", // Dareboost
+ "yellowlab", // YellowLab Tools
+ "w3c", // W3C validators
+ "validator", // various validators
+ "linkchecker", // link checkers
+ "deadlinkchecker", // dead link checker
+ "brokenlinkcheck", // broken link checker
+ "xenu", // Xenu link checker
+ "integrity", // Integrity link checker
+ "scrutiny", // Scrutiny link checker
+ "powermapper", // PowerMapper
+ "siteimprove", // Siteimprove
+ "monsido", // Monsido
];
export const IP_BOTS = [