PDA

View Full Version : [Source] PyAgent User Agent Generator



harvey
10-03-2013, 09:39 AM
PyAgent
--------------------------------------------------
A Python random user agent generator.



INFORMATION
This handy little script can be used in your source codes to generate a random user agents.
The resulted user agents will vary between Chrome, Internet Explorer, and Firefox, appearing to be on a Linux, Mac, or Windows computer.
The platform and just about everything down the browsers version is all random, while still being a legitimate user agent.



USAGE
Running this script itself will not do anything, this is simply a function meant to be included in your source code.
The function can be called with "getUserAgent()", which will return the randomly generated agent to a string.




SOURCE CODE
CLICK HERE (http://link.cur.lv/pyagent)

whateverforever
05-27-2017, 03:33 AM
thanks, this should come in handy

Cherry45
09-15-2017, 05:23 PM
Very useful. Thank you :)