-
-
Notifications
You must be signed in to change notification settings - Fork 489
Add more bot platforms #542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
e417ea2
d197a44
d668404
6647d3b
1e86c2e
da61600
4050a25
bb05390
8ff7cdc
38547c8
26aafc6
8d47b99
4cdac37
2df1fb1
3c451d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,94 @@ export default [ | |
| }, | ||
| }, | ||
|
|
||
| /* Alexa */ | ||
| { | ||
| test: [/ia_archiver/i], | ||
| describe() { | ||
| return { | ||
| type: PLATFORMS_MAP.bot, | ||
| vendor: 'Amazon', | ||
| }; | ||
| }, | ||
| }, | ||
|
|
||
| /* Baidu */ | ||
| { | ||
| test: [/baiduspider/i], | ||
| describe() { | ||
| return { | ||
| type: PLATFORMS_MAP.bot, | ||
| vendor: 'Baidu', | ||
| }; | ||
| }, | ||
| }, | ||
|
|
||
| /* Bingbot */ | ||
| { | ||
| test: [/bingbot/i], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| describe() { | ||
| return { | ||
| type: PLATFORMS_MAP.bot, | ||
| vendor: 'Bing', | ||
| }; | ||
| }, | ||
| }, | ||
|
|
||
| /* DuckDuckBot */ | ||
| { | ||
| test: [/duckduckbot/i], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
naorpeled marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| describe() { | ||
| return { | ||
| type: PLATFORMS_MAP.bot, | ||
| vendor: 'Yahoo', | ||
| }; | ||
| }, | ||
| }, | ||
|
|
||
| /* Yandex */ | ||
| { | ||
| test: [/yandexbot/i], | ||
| describe() { | ||
| return { | ||
| type: PLATFORMS_MAP.bot, | ||
| vendor: 'Yandex', | ||
| }; | ||
| }, | ||
| }, | ||
|
|
||
| /* Pingdom */ | ||
| { | ||
| test: [/pingdom/i], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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], | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.baidu.com/search/robots_english.html