We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fc6b4a + 97790f7 commit fcc453fCopy full SHA for fcc453f
lib/agent_orange/device.rb
@@ -14,7 +14,7 @@ class Device < Base
14
DEVICES = {
15
:computer => 'windows|macintosh|x11|linux',
16
:mobile => 'ipod|ipad|iphone|palm|android|opera mini|hiptop|windows ce|smartphone|mobile|treo|psp',
17
- :bot => 'bot|googlebot|crawler|spider|robot|crawling'
+ :bot => 'alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex'
18
}
19
20
def parse(user_agent)
0 commit comments