Skip to content
88 changes: 88 additions & 0 deletions src/parser-platforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,94 @@ export default [
},
},

/* Alexa */
{
test: [/ia_archiver/i],
describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Amazon',
};
},
},

/* Baidu */
{
test: [/baiduspider/i],
Copy link
Contributor Author

@luciomartinez luciomartinez Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Baidu',
};
},
},

/* Bingbot */
{
test: [/bingbot/i],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Bing',
};
},
},

/* DuckDuckBot */
{
test: [/duckduckbot/i],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'DuckDuckGo',
};
},
},

/* Facebook */
{
test: [/facebookexternalhit/i],
describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Facebook',
};
},
},

/* Yahoo! Slurp */
{
test: [/yahoo/i],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Yahoo',
};
},
},

/* Yandex */
{
test: [/yandexbot/i],
describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Yandex',
};
},
},

/* Pingdom */
{
test: [/pingdom/i],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best guest I suppose 🙂

describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Pingdom',
};
},
},

/* Huawei */
{
test: [/huawei/i],
Expand Down