Skip to content
On this page

Crawlers (Auto Bots)

sh
# List of known crawlers
AhrefsBot, Amazonbot, Applebot, Baiduspider, Bytespider, Bingbot, 
ClaudeBot, Coc Coc Bot, Dotbot, DuckDuckBot, FacebookBot, GPTBot, 
MJ12Bot, SemrushBot, Slurp, Sogou Spider, YandexBot

Code Example

js
import { Crawlers } from 'ua-parser-js/extensions';

const googleBot = 'Googlebot-Video/1.0';
const facebookBot = 'Mozilla/5.0 (compatible; FacebookBot/1.0; +https://developers.facebook.com/docs/sharing/webmasters/facebookbot/)';

const botParser = new UAParser(Crawlers);

console.log(botParser.setUA(googleBot).getBrowser());
// {name: "Googlebot-Video", version: "1.0", major: "1", type: "crawler"});

console.log(botParser.setUA(facebookBot).getBrowser());
// {name: "FacebookBot", version: "1.0", major: "1", type:"crawler"});

Licensed under the MIT License.