RandomUAgents
Library for fetching random user agents based on device type (desktop, mobile, etc.).
Installation
You can install the library using pip:
pip install randomuagents
Usage
Get random user-agent
ua_instance = UA()
random_ua = ua_instance._uGet()
print(random_ua)
Get random user-agent for desktop
ua_instance = UA("desktop")
random_ua = ua_instance._uGet()
print(random_ua)
Get random user-agent for mobile
ua_instance = UA("mobile")
random_ua = ua_instance._uGet()
print(random_ua)
Release files for randomuagents 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| randomuagents-1.0.6.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| randomuagents-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.9 kB
Release files / randomuagents-1.0.6.tar.gz
| Download URL | randomuagents-1.0.6.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bb52797ebc0ef7a29e4f8cf9885749175c66648fd3eb60fb92b2a22119e0c6d
|
|
BLAKE2b-256 checksum How to use checksums |
16a953c055d23b57ae193705970b8be57ce871e39da8ced28af8d41d857c5653
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / randomuagents-1.0.6-py3-none-any.whl
| Download URL | randomuagents-1.0.6-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9161920b655157ef59c74f7a362122534cd5ac04e72c06e0520d951d1e079150
|
|
BLAKE2b-256 checksum How to use checksums |
034e0e55f9015234afacd022fbdce261f3384af8654f8dba286f4a4c0ca27c9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|