Generate Random User-agent strings in java. Useful in web-scraping.
Just import the file in your project and call
RandomUserAgent.getRandomUserAgent()
This will return a random user-agent string with the following probability:
Internet Explorer: 11.8%
Firefox: 28.2%
Chrome: 52.9%
Safari: 3.9%
Opera: 1.8%