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.uxagent import UserAgent
from UXAGENT.filters import SoftwareName
from UXAGENT.filters 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 > Click 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.3.tar.gz
(7.9 MB
view hashes)