A python module that generate random user agent based on rules
Project description
python-rndua
A python module that generate random user agent based on rules
Why?
Most random user agent generator just randomly pick from a large list. This one is based on rule and software version lists, generate user agent that seems legit but may not actually exist. The goal is to generate user agent that seems as legit as possible but also keep code complexity low.
Currently supported user agent types
- {Chrome, Firefox} on {Android, Windows, OS X}
How it works?
Besides the source code, data.md may give you some hints.
Basic usage
from rndua.rndua import RandomUAGenerator
rg=RandomUAGenerator()
rg.get_random_user_agent()
Advanced usage
See the source code, it's short.
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
rndua-0.0.2.tar.gz
(8.2 kB
view details)
Built Distribution
rndua-0.0.2-py3-none-any.whl
(9.7 kB
view details)
File details
Details for the file rndua-0.0.2.tar.gz
.
File metadata
- Download URL: rndua-0.0.2.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f772de721ab4c5442dc456b64e1707aa00317dd8e7b75820e6eef289462a34 |
|
MD5 | 6056279c273373cbc78d3132e74196f9 |
|
BLAKE2b-256 | df5d1cbcea550779b39d9e92d80ad66ea8f19dcc61cea0b8c07c483f17316fa0 |
File details
Details for the file rndua-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: rndua-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 001308a5e7e1f8dc673a965898700ca233aa41e4e23b3eaf22bd7900632f7dae |
|
MD5 | d238c2ffdec32ba3ce1e3f608dfd694f |
|
BLAKE2b-256 | f8f7aa6b9aae2149c8d11754921305e4ccf12ebb4d757a217c8fdaf6eea8f4a7 |