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
Hashes for userAgentRandomizer-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e20952e649cda3958080003d943ac13aa04f7278856d28557c09788ba08231 |
|
MD5 | 2cb34a9248ba45884e08ee2ac9594229 |
|
BLAKE2b-256 | 467c62e09100022bba7ff1fb16d37ccc18333944ee11d9004ea998d804f7fdb6 |