New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

iGEL-ua_parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iGEL-ua_parser

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

== About ua_parser

ua_parser will become a ruby gem to identify user agents like browsers or crawlers by the provided user agent string. I'm planning try to get most of the available information like GUI language of the browser or email addresses provided by a bot out of it.

I tried to identify common user agents first, reducing the necessary regexps for them. But I guess, it could be improved alot. Of course I'd like to get feedback. Even if you just revise my crappy English, send me an e-mail. ;-)

=== Project status (as of 2009-01-25):

Right know, the project is at a very early state. Of my 14 million hits sample, ua_parser can identify about 96.5 % of all hits.

I tried to cover as much as possible with tests. At the moment, I have 99 tests implemented.

Known browsers:

  • Chrome
  • Firefox and most other gecko based browsers
  • Internet Explorer
  • Opera, pure and pretending to be an Internet Explorer or Firefox
  • Safari >= Version 3

Known bots:

  • Baidubot
  • gigabot
  • gonzo (of suchen.de)
  • Googlebot, Googlebot-Images, Mediapartners-Google
  • mj12bot
  • msnbot and msnbot-media
  • seekbot
  • speedy spider
  • twiceler (of cuil.com)
  • Yahoo! Slurp
  • yeti (of naver.com)

Other known agents

  • Apache httpd
  • Jakarta Commons httpclient
  • Java
  • libwww-perl
  • SVN
  • TortoiseSVN
  • veoh service

Also, ua_parser tries to identify bots and feedreader, even if it doesn't know about them. That way, the results should be close to 100%.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc