/randomuseragent

Random user agent for user, website... scrapping...

Primary LanguageRubyMIT LicenseMIT

RandomUserAgent

Random User Agent is a generator of user agent for url, website... scrapping....

Call RandomUserAgent to get a random user agent from more than 800 possibilites.

Provides IE, Firefox, Chrome, Safari and Opera web browser from different OS.

Installation

$ gem install random_user_agent

Usage

require "random_user_agent"

user_agent = RandomUserAgent.randomize

generate a random user agent like :

Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

##Project status

RandomUserAgent is currently maintained by Yassine Azzout.

##Authors and contributors

Current

##License

MIT license