mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
perplexity
This commit is contained in:
@@ -39,6 +39,7 @@ export const BROWSER_ALIASES_MAP = {
|
||||
PhantomJS: 'phantomjs',
|
||||
PingdomBot: 'pingdombot',
|
||||
PerplexityBot: 'perplexitybot',
|
||||
'Perplexity-User': 'perplexity_user',
|
||||
Puffin: 'puffin',
|
||||
QQ: 'qq',
|
||||
QQLite: 'qqlite',
|
||||
@@ -98,6 +99,7 @@ export const BROWSER_MAP = {
|
||||
phantomjs: 'PhantomJS',
|
||||
pingdombot: 'PingdomBot',
|
||||
perplexitybot: 'PerplexityBot',
|
||||
perplexity_user: 'Perplexity-User',
|
||||
oai_searchbot: 'OAI-SearchBot',
|
||||
omgilibot: 'Omgilibot',
|
||||
puffin: 'Puffin',
|
||||
|
||||
@@ -147,6 +147,16 @@ const browsersList = [
|
||||
},
|
||||
},
|
||||
|
||||
/* Perplexity-User */
|
||||
{
|
||||
test: [/perplexity-user/i],
|
||||
describe(ua) {
|
||||
const browser = {
|
||||
name: 'Perplexity-User',
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
/* YouBot */
|
||||
{
|
||||
test: [/youbot/i],
|
||||
|
||||
@@ -139,6 +139,17 @@ export default [
|
||||
},
|
||||
},
|
||||
|
||||
/* Perplexity-User */
|
||||
{
|
||||
test: [/perplexity-user/i],
|
||||
describe() {
|
||||
return {
|
||||
type: PLATFORMS_MAP.bot,
|
||||
vendor: 'Perplexity AI',
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
/* YouBot */
|
||||
{
|
||||
test: [/youbot/i],
|
||||
|
||||
Reference in New Issue
Block a user