uap-ruby icon indicating copy to clipboard operation
uap-ruby copied to clipboard

Bot detection

Open vivekmarakana opened this issue 10 years ago • 3 comments

Hi, can you give additional functionality to detect is UA string indicates a bot or not, something like ua.is_bot? ?? Or let me know if there's something like that built in..

vivekmarakana avatar Dec 31 '15 11:12 vivekmarakana

+1

It seems a measure is missing from this project: "OS family type" that should give:

  • Window
  • Mac
  • Bot
  • Library

As reference => http://stackoverflow.com/questions/34718426/get-os-family-type-with-ua-parser-project

ebuildy avatar Jan 11 '16 09:01 ebuildy

I think this is a good additional feature within the scope of this library. @vivekmarakana and @ebuildy Do you know any good regex-sources for this type of detection?

wallin avatar Jun 13 '17 19:06 wallin

Nop, you could maybe have a look at:

https://github.com/HaraldWalker/user-agent-utils/blob/1027f93ed14a616229230a264651f370f7ccdb18/src/main/java/eu/bitwalker/useragentutils/Browser.java#L303

ebuildy avatar Jun 14 '17 08:06 ebuildy