Automatically Generate User agents
Project description
userAgentRandomizer
Automatically Generate User agents
Installation
pip install userAgentRandomizer
from userAgentRandomizer import userAgents
ua = userAgents()
random_useragent = ua.random()
print(random_useragent)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:5.0) Gecko/20110619 Firefox/5.0
print(ua.count())
4513
Advanced Features:
ua.random can pass one of the following options to 'engine', ["Chrome","Firefox","Edge","Opear","Safari"] - if no option selected it will return one at random.
print(ua.random('Firefox'))
Mozilla/5.0 (Windows; U; Windows NT 6.1; hu; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 (.NET CLR 3.5.30729)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file userAgentRandomizer-0.1.7.tar.gz
.
File metadata
- Download URL: userAgentRandomizer-0.1.7.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef447ac42f2bbfaa015bd28404e06e40fd4fb8f63afa3e476f36df95537962d2 |
|
MD5 | 9af6ffd08c692d65c2389ab279d39625 |
|
BLAKE2b-256 | f05f44e990d100cd4ac4a3da8bda0d00274dfbacdd3e3408c7e4a47d2174fe1f |
Provenance
File details
Details for the file userAgentRandomizer-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: userAgentRandomizer-0.1.7-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a5ae299762fa03a837bfb1f69503441dd45d27d922bd8adace6f30587a4b91 |
|
MD5 | f283687683c5de2757f1bf552db149c5 |
|
BLAKE2b-256 | 112535d0ea38799a8b7f59475f34937fa733bb197fbe9538c8f49a9181df929f |