This library is used to make it easier for developers or users to get random user agents from https://useragents.io.
Project description
GET-USERAGENTS
This library is used to make it easier for developers or users to get random user agents from https://useragents.io
Installation
You can install get-useragents by running the following command:
```
pip install get-useragents
```
Or you can download direct from [Github](https://github.com/g4rzk/get_useragents/archive/get_useragents.tar.gz) and install it manually.
Usage
~~~~~
```python
from get_useragents import *
# you can change the limit
ua = UserAgents(limit=100)
# fungsi untuk mendapatkan semua ua sesuai limit dari GetListUserAgents
user_agents = ua.GetUserAgents()
# function for get random ua from GetListUserAgents
random_ua = ua.RandomUserAgents()
```
Function
- Get more than 100+ user agents
- Get a random user agent
License
The MIT License (MIT). Please see [License File](https://github.com/g4rzk/get_useragents/blob/main/LICENSE) for more information.
User Agent Source
special thanks to https://useragents.io 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
get_useragents-0.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for get_useragents-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddf1dbe4024b9995e2a5159df1a08e5b5c0986bdcd78ff5c43efb34b67d6f62b |
|
MD5 | c887bb84b9d52f8b511842cd6961ce9d |
|
BLAKE2b-256 | 31fc0f1c000b248bcc95550add4fa9ce5e5b7fad2d08b75af1992417b33fb259 |