Assaultz
Member
[HIDE]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
[/HIDE]
Enjoy
--------------------------------------------------
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
http://pastebin.com/Z7c5kZz9
Enjoy
