https://github.com/ivan-sincek/bot-safe-agents
A library for fetching a list of bot-safe user agents.
https://github.com/ivan-sincek/bot-safe-agents
bot-safe botting browser bug-bounty crawling ethical-hacking evasion offensive-security penetration-testing python rate-limiting red-team-engagement scraping security threat-hunting threat-intelligence user-agents web-penetration-testing
Last synced: 5 months ago
JSON representation
A library for fetching a list of bot-safe user agents.
- Host: GitHub
- URL: https://github.com/ivan-sincek/bot-safe-agents
- Owner: ivan-sincek
- License: mit
- Created: 2024-11-11T09:36:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T14:49:41.000Z (11 months ago)
- Last Synced: 2025-05-07T22:45:50.343Z (5 months ago)
- Topics: bot-safe, botting, browser, bug-bounty, crawling, ethical-hacking, evasion, offensive-security, penetration-testing, python, rate-limiting, red-team-engagement, scraping, security, threat-hunting, threat-intelligence, user-agents, web-penetration-testing
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bot Safe Agents
A library for fetching a list of bot-safe user agents.
Made for educational purposes. I hope it will help!
## Table of Contents
* [How to Install](#how-to-install)
* [Standard Install](#standard-install)
* [Build and Install From the Source](#build-and-install-from-the-source)
* [Usage](#usage)## How to Install
### Standard Install
```bash
pip3 install bot-safe-agentspip3 install --upgrade bot-safe-agents
```### Build and Install From the Source
Run the following commands:
```bash
git clone https://github.com/ivan-sincek/bot-safe-agents && cd bot-safe-agentspython3 -m pip install --upgrade build
python3 -m build
python3 -m pip install dist/bot-safe-agents-1.0-py3-none-any.whl
```## Usage
Get all user agents:
```python
import bot_safe_agentsuser_agents = bot_safe_agents.get_all()
print(user_agents)# do something
```Get a random user agent:
```python
import bot_safe_agentsuser_agents = bot_safe_agents.get_random()
print(user_agents)# do something
```