Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 459 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 459 Bytes

user-agent-generator

Translated from mkstayalive | random-user-agent-java

Generate Random User-agent strings in kotlin. 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%