Random user agent
Project description
RANDOM USER AGENTS © 2023
Random User Agents is a python library that provides list of user agents, from a collection of more than 326,000+ user agents, based on filters.
INSTALLATION
You can install random useragent by running the following command:
pip install uxagent
USAGE
from Uxagent import UserAgent
from Uxagent import SoftwareName
from Uxagent import OperatingSystem
software = [ SoftwareName.APP024.value ]
osystems = [ OperatingSystem.COD001.value, OperatingSystem.COD002.value ]
rotators = UserAgent(limit=100, operating_system=osystems, software_names=software)
# GET RANDOM USER AGENT
user_agent = rotators.get_user_agent()
print(user_agent)
# GET LIST OF USER AGENTS
user_agents = rotators.get_user_agents()
print(user_agents)
All filters are available > here
LICENSE
The MIT License. Please see License File for more information.
USER AGENTS SOURCE
Special thanks to whatismybrowser for providing real user agents.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uxagent-0.1.4.tar.gz
(7.9 MB
view details)
Built Distribution
File details
Details for the file uxagent-0.1.4.tar.gz
.
File metadata
- Download URL: uxagent-0.1.4.tar.gz
- Upload date:
- Size: 7.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b99617930711a41064405e6d3ccf02fa5ff496b6048e59637e4130262ad00da |
|
MD5 | 11093c12d13389369f75c6c42af11af6 |
|
BLAKE2b-256 | 664a396b8220d5b3a391ab901f0848f18f6b6b8f502cdf5530d03c935b0353d2 |
File details
Details for the file uxagent-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: uxagent-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56aea76588b01529c34108a657e43003e00d7ec797af93d2bee22439332af699 |
|
MD5 | 5ac7e21f56c9a0881862f43dcc6582eb |
|
BLAKE2b-256 | 18acaf77ae4a48ccc6d01230d9b23fad65eb00ceb1860b04f25e570a71dc0ed8 |