Skip to content
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

Build in recognition of search bot user agents #116

Open
davideanderson opened this issue Nov 13, 2015 · 4 comments
Open

Build in recognition of search bot user agents #116

davideanderson opened this issue Nov 13, 2015 · 4 comments

Comments

@davideanderson
Copy link

Feature Suggestion:
It seems that it would be relatively common use case to desire to know if the agent is a search bot, so building in the user agents for common search bots seems like a reasonable feature.

Google: https://support.google.com/webmasters/answer/1061943?hl=en
Bing: https://www.bing.com/webmaster/help/which-crawlers-does-bing-use-8c184ec0

@lancedikson
Copy link
Collaborator

It's ok. Could you prepare a PR?

@everget
Copy link

everget commented Oct 23, 2017

@lancedikson hope this helps

Majestic-12 Web Crawler:

/mj12bot|majestic12/i

Google bots (matches the all from https://support.google.com/webmasters/answer/1061943?hl=en):

/(mediapartners|apis|adsbot)?[ -]?\(?google(bot)?/i

Bing bots (mathes the all from https://www.bing.com/webmaster/help/which-crawlers-does-bing-use-8c184ec0):

/msn|adidx|bing(bot|preview)/i

Chinese search engine Baidu crawlers:

/baiduspider/i

Chinese search engine Sogou crawlers:

/sogou/i

@daniel-nagy
Copy link

DuckDuckGo

Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)

@gurodrigues
Copy link

I found this list with all user agent crawlers

http://www.user-agents.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants