1
0
mirror of https://github.com/lancedikson/bowser synced 2025-12-05 06:02:14 +00:00

perplexity

This commit is contained in:
naorpeled 2025-11-22 17:31:40 +02:00
parent 95c814e180
commit 512aa721d8
4 changed files with 36 additions and 1 deletions

View File

@ -39,6 +39,7 @@ export const BROWSER_ALIASES_MAP = {
PhantomJS: 'phantomjs', PhantomJS: 'phantomjs',
PingdomBot: 'pingdombot', PingdomBot: 'pingdombot',
PerplexityBot: 'perplexitybot', PerplexityBot: 'perplexitybot',
'Perplexity-User': 'perplexity_user',
Puffin: 'puffin', Puffin: 'puffin',
QQ: 'qq', QQ: 'qq',
QQLite: 'qqlite', QQLite: 'qqlite',
@ -98,6 +99,7 @@ export const BROWSER_MAP = {
phantomjs: 'PhantomJS', phantomjs: 'PhantomJS',
pingdombot: 'PingdomBot', pingdombot: 'PingdomBot',
perplexitybot: 'PerplexityBot', perplexitybot: 'PerplexityBot',
perplexity_user: 'Perplexity-User',
oai_searchbot: 'OAI-SearchBot', oai_searchbot: 'OAI-SearchBot',
omgilibot: 'Omgilibot', omgilibot: 'Omgilibot',
puffin: 'Puffin', puffin: 'Puffin',

View File

@ -147,6 +147,16 @@ const browsersList = [
}, },
}, },
/* Perplexity-User */
{
test: [/perplexity-user/i],
describe(ua) {
const browser = {
name: 'Perplexity-User',
};
},
},
/* YouBot */ /* YouBot */
{ {
test: [/youbot/i], test: [/youbot/i],

View File

@ -139,6 +139,17 @@ export default [
}, },
}, },
/* Perplexity-User */
{
test: [/perplexity-user/i],
describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Perplexity AI',
};
},
},
/* YouBot */ /* YouBot */
{ {
test: [/youbot/i], test: [/youbot/i],

View File

@ -2649,7 +2649,7 @@
engine: {} engine: {}
PerplexityBot: PerplexityBot:
- -
ua: "Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://www.perplexity.ai/bot)" ua: "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)"
spec: spec:
browser: browser:
name: "PerplexityBot" name: "PerplexityBot"
@ -2659,6 +2659,18 @@
type: "bot" type: "bot"
vendor: "Perplexity AI" vendor: "Perplexity AI"
engine: {} engine: {}
PerplexityUser:
-
ua: "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Perplexity-User/1.0; +https://perplexity.ai/perplexity-user)"
spec:
browser:
name: "Perplexity-User"
version: "1.0"
os: {}
platform:
type: "bot"
vendor: "Perplexity AI"
engine: {}
YouBot: YouBot:
- -
ua: "Mozilla/5.0 (compatible; YouBot/1.0; +https://you.com/bot)" ua: "Mozilla/5.0 (compatible; YouBot/1.0; +https://you.com/bot)"