GET-USERAGENTS
This library is used to make it easier for developers or users to get random user agents
Installation
You can install get-useragents by running the following command:
pip install get-useragents
Or you can download direct from Github and install it manually.
Upgrade packages
You can upgrade get-useragents by running the following command:
pip install get-useragents --upgrade
Usage
from get_useragents import useragents
# to see available devices, check: https://github.com/g4rzk/get_useragents#list-device
ua = useragents.Get_UA(device="chrome")
# to get all user agents according to the limit
all_ua = ua.GetUserAgents()
# to get a random user agent from limit
random_ua = ua.RandomUserAgents()
print(random_ua)
List Device
| List Device | Total User Agent |
|---|---|
| Apple | 500 |
| Chrome | 500 |
| Desktop | 500 |
| 500 | |
| iOS | 500 |
| iPhone | 500 |
| Linux | 500 |
| MiUi | 500 |
| Mozilla | 500 |
| Opera | 500 |
| Samsung | 500 |
| Xiaomi | 500 |
| Yandex | 500 |
| Mac OS | 500 |
Function
- Get 100+ user agent from existing devices
- Get a random user agent from all existing devices
List All Directory
.get_useragents
├── AUTHORS
├── LICENSE
├── README.md
├── cache
│ └── dump
│ └── get_useragents.json
├── example
│ └── testing
│ └── ua.py
├── get_useragents
│ ├── data
│ │ └── get_useragents.json
│ ├── settings.py
│ └── useragents.py
├── setup.cfg
├── setup.py
└── ua.py
This tree is to make it easier for you to see the files in all directories.
Change Log
-
Version 1.6 and 1.7 2022/11/29 18:22
- Fix Error
- Done Test All Function
- BETA
-
Version 1.1 to 1.5 2022/11/28 22:01:49
- Fast Get User Agents
- Add New List Device
- Simple Method
- No Need Installed Module
- BETA
-
Version 0.8
- New list device user agent
- Fixed Bug and Re-Upload
-
Version 0.7
- Using cloudscraper
- Re-upload
-
Version 0.6
- Fix Index Error
- Re-upload
Stats
License
The MIT License (MIT). Please see License File for more information.
Authors
You can visit authors page
Metadata
Release files for get-useragents 1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| get_useragents-1.7-py3-none-any.whl | Python 3 | none | any | Details for get_useragents-1.7-py3-none-any.whl |
Release files / get_useragents-1.7-py3-none-any.whl
| Download URL | get_useragents-1.7-py3-none-any.whl |
|---|---|
| Size | 72.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0ce139fac2c9f425cb1db778822d73afc4ba036548a3ab01ab96ee3c52bcbfc
|
|
BLAKE2b-256 checksum How to use checksums |
f64e438ff7398cb5f7f6d2a475daea617747ddce803dd3dda77f559a00adf506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.8.3 requests/2.28.1 setuptools/65.5.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.11.0
|
Security for get-useragents 1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.