Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinyzu/botright
Botright, the most advance undetected, fingerprint-changing, captcha-solving, open-source automation framework. Build on Playwright, its as easy to use as it is to extend your code. Solving your Captchas for free with AI.
https://github.com/vinyzu/botright
ai automation bots botting browser captcha captcha-solver captcha-solving chrome chromium playwright stealth undectectable undetected
Last synced: 3 days ago
JSON representation
Botright, the most advance undetected, fingerprint-changing, captcha-solving, open-source automation framework. Build on Playwright, its as easy to use as it is to extend your code. Solving your Captchas for free with AI.
- Host: GitHub
- URL: https://github.com/vinyzu/botright
- Owner: Vinyzu
- License: gpl-3.0
- Created: 2022-09-09T17:35:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T20:51:21.000Z (about 2 months ago)
- Last Synced: 2024-12-05T23:02:35.352Z (17 days ago)
- Topics: ai, automation, bots, botting, browser, captcha, captcha-solver, captcha-solving, chrome, chromium, playwright, stealth, undectectable, undetected
- Language: Python
- Homepage:
- Size: 53.3 MB
- Stars: 519
- Watchers: 12
- Forks: 62
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Botright v0.5.1
![Tests & Linting](https://github.com/Vinyzu/botright/actions/workflows/ci.yml/badge.svg)
[![](https://img.shields.io/pypi/v/botright.svg?color=1182C3)](https://pypi.org/project/botright/)
[![Downloads](https://static.pepy.tech/badge/botright)](https://pepy.tech/project/botright)---
## Sponsors
If you need to solve a captcha which isnΒ΄t solvable with [Botright](https://github.com/Vinyzu/Botright) or you dont want to spend youΒ΄re own computer resources on AI solving, I can personally
recommend:[![Capsolver Banner](https://github.com/user-attachments/assets/b39e70da-3011-4743-9e87-e63947bf41b9)](https://www.capsolver.com/?utm_source=github&utm_medium=banner_github&utm_campaign=botright)
[Capsolver.com](https://www.capsolver.com/?utm_source=github&utm_medium=banner_github&utm_campaign=botright) is an AI-powered service that specializes in solving various types of captchas automatically. It supports captchas such as [reCAPTCHA V2](https://docs.capsolver.com/guide/captcha/ReCaptchaV2.html), [reCAPTCHA V3](https://docs.capsolver.com/guide/captcha/ReCaptchaV3.html), [hCaptcha](https://docs.capsolver.com/guide/captcha/HCaptcha.html), [FunCaptcha](https://docs.capsolver.com/guide/captcha/FunCaptcha.html), [DataDome](https://docs.capsolver.com/guide/captcha/DataDome.html), [AWS Captcha](https://docs.capsolver.com/guide/captcha/awsWaf.html), [Geetest](https://docs.capsolver.com/guide/captcha/Geetest.html) and Cloudflare [Captcha](https://docs.capsolver.com/guide/antibots/cloudflare_turnstile.html) / [Challenge 5s](https://docs.capsolver.com/guide/antibots/cloudflare_challenge.html), [Imperva / Incapsula](https://docs.capsolver.com/guide/antibots/imperva.html), among others.
For developers, Capsolver offers API integration options detailed in their [documentation](https://docs.capsolver.com/), facilitating the integration of captcha solving into applications. They also provide browser extensions for both [Chrome](https://chromewebstore.google.com/detail/captcha-solver-auto-captc/pgojnojmmhpofjgdmaebadhbocahppod) and [Firefox](https://addons.mozilla.org/es/firefox/addon/capsolver-captcha-solver/), making it easy to use their service directly within a browser. Different pricing packages are available to accommodate varying needs, ensuring flexibility for users.
---
[![Evomi Banner](https://my.evomi.com/images/brand/cta.png)](https://evomi.com?utm_source=github&utm_medium=banner&utm_campaign=Vinyzu-Botright)
[**Evomi**](https://evomi.com?utm_source=github&utm_medium=banner&utm_campaign=Vinyzu-Botright) is your Swiss Quality, affordable Proxy Provider. I can personally recommend them for their High Quality Residential Proxies.
- π **Global Presence**: Available in 150+ Countries
- β‘ **Guaranteed Low Latency**
- π **Swiss Quality and Privacy**
- π **Free Trial**: No Credit Card Required
- π‘οΈ **99.9% Uptime**
- π€ **Special IP Pool selection**: Optimize for fast, quality or quantity of ips
- π§ **Easy Integration**: Compatible with most software and programming languages---
## Install it from PyPI
```bash
pip install botright
playwright install
```---
## Usage
### Botright is currently only available in async mode.
### It is fully plugable with your existing playwright code. You only have to change your browser initialization!```py
import asyncioimport botright
async def main():
botright_client = await botright.Botright()
browser = await botright_client.new_browser()
page = await browser.new_page()# Continue by using the Page
await page.goto("https://google.com")await botright_client.close()
if __name__ == "__main__":
asyncio.run(main())
```Read the [Documentation](https://github.com/Vinyzu/Botright/blob/main/docs/index.rst)
---
## Browser Stealth
Botright uses a vast amount of techniques to hide its functionality as a bot from websites.
To enhance stealth, since Version 0.3, it uses a real Chromium-based browser from the local machine to start up a botted browser.
For best stealth, you want to install [Ungoogled Chromium](https://ungoogled-software.github.io/ungoogled-chromium-binaries/).Furthermore, it uses self-scraped [chrome-fingerprints](https://github.com/Vinyzu/chrome-fingerprints) to build up a fake browser fingerprint and to deceive website into thinking it is legit.
| Test | Status | Score |
|-----------------------------------------------------------------------------------------------------|--------|------------------------------------------------------------|
| **reCaptcha Score** | βοΈ | 0.9 |
| => [nopecha.com](https://nopecha.com/demo/recaptcha#v3) | βοΈ | 0.9 |
| => [recaptcha-demo.appspot.com](https://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php) | βοΈ | 0.9 |
| => [berstend.github.io](https://berstend.github.io/static/recaptcha/v3-programmatic.html) | βοΈ | 0.9 |
| => [antcpt.com](https://antcpt.com/score_detector/) | ββ | 0.1 (Detects Legitimate Browsers as Bad) |
| [**CreepJS**](https://abrahamjuliot.github.io/creepjs/) | βοΈ | ~65.5% (With Canvas Manipulation 52%) |
| **DataDome** | βοΈ | |
| => [antoinevastel.com](https://antoinevastel.com/bots/datadome) | βοΈ | |
| => [datadome.co](https://datadome.co/bot-tester/) | βοΈ | |
| **Imperva** | βοΈβ | (Cant find approved Testing Sites) |
| => [ticketmaster.es](https://www.ticketmaster.es/) | βοΈ | |
| **Cloudflare** | βοΈ | |
| => [Turnstile](https://nopecha.com/demo/turnstile) | βοΈ | (Using Undetected-Playwright-Python) |
| => [Interstitial](https://nopecha.com/demo/cloudflare) | βοΈ | (Using Undetected-Playwright-Python) |
| [**SannySoft**](https://bot.sannysoft.com/) | βοΈ | |
| [**Incolumitas**](https://bot.incolumitas.com/) | βοΈ | 0.8-1.0 |
| [**Fingerprint.com**](https://fingerprint.com/products/bot-detection/) | βοΈ | |
| [**IpHey**](https://iphey.com/) | βοΈ | |
| [**BrowserScan**](https://browserscan.net/) | βοΈ | |
| [**PixelScan**](https://pixelscan.net/) | β | (Platform Test Outdated & Maybe caused by WebGL-disabling) |
| [**Bet365**](https://www.bet365.com/#/AC/B1/C1/D1002/E79147586/G40/) | βοΈ | Currently only using `mask_fingerprint=False` |---
## Captcha Solving
Botright is able to solve a wide viarity of Captchas.
For Documentation of these functions visit [BotrightDocumentation](https://github.com/Vinyzu/Botright/blob/main/docs/botright.rst).It uses Computer Vision/Artificial Intelligence and other Methods to solve these Captchas.
You dont need to pay for any Captcha Solving APIs and you can solve Captchas with just one simple function call.
Here all Captchas supported as of now:
| Captcha Type | Supported | Solved By | Success Rate |
|:------------------------------------:|:---------:|:-------------------------------:|--------------|
| `hCaptcha` | βοΈ β | hcaptcha-challenger (outdated) | up to 90% |
| `reCaptcha` | βοΈ | reCognizer | 50%-80% |
| `geeTestv3` Currently Not Available! |
| v3 Intelligent Mode | βοΈ | botrights stealthiness | 100% |
| v3 Slider Captcha | βοΈ | cv2.matchTemplate | 100% |
| v3 Nine Captcha | βοΈ | CLIP Detection | 50% |
| v3 Icon Captcha | βοΈ | cv2.matchTemplate / SSIM / CLIP | 70% |
| v3 Space Captcha | β | Not solvable | 0% |
| `geeTestv4` Currently Not Available! |
| v4 Intelligent Mode | βοΈ | botrights stealthiness | 100% |
| v4 Slider Captcha | βοΈ | cv2.matchTemplate | 100% |
| v4 GoBang Captcha | βοΈ | Math Calculations | 100% |
| v4 Icon Captcha | βοΈ | cv2.matchTemplate / SSIM / CLIP | 60% |
| v4 IconCrush Captcha | βοΈ | Math Calculations | 100% |## Development
Read the [CONTRIBUTING.md](https://github.com/Vinyzu/Botright/blob/main/docs/CONTRIBUTING.md) file.
---
## Copyright and License
Β© [Vinyzu](https://github.com/Vinyzu/)[GNU GPL](https://choosealicense.com/licenses/gpl-3.0/)
(Commercial Usage is allowed, but source, license and copyright has to made available. Botright does not provide and Liability or Warranty)
---
## Thanks to
[Kaliiiiiiiiii](https://github.com/kaliiiiiiiiii/) (For shared knowledge of Anti-Browser-Detection Measures)
[Kaliiiiiiiiii](https://github.com/kaliiiiiiiiii/) (For Main-Authoring [Undetected-Playwright](https://github.com/kaliiiiiiiiii/undetected-playwright-python) (Co-Authored by me) )
[QIN2DIM](https://github.com/QIN2DIM/) (For his great AI work)
[MaxAndolini](https://github.com/MaxAndolini) (For shared knowledge of hCaptcha bypassing)
[CreativeProxies](https://creativeproxies.com) (For sponsoring me with Proxies)
---
![Version](https://img.shields.io/badge/Botright-v0.5.1-blue)
![License](https://img.shields.io/badge/License-GNU%20GPL-green)
![Python](https://img.shields.io/badge/Python-v3.x-lightgrey)[![my-discord](https://img.shields.io/badge/My_Discord-000?style=for-the-badge&logo=google-chat&logoColor=blue)](https://discordapp.com/users/935224495126487150)
[![buy-me-a-coffee](https://img.shields.io/badge/Buy_Me_A_Coffee-000?style=for-the-badge&logo=ko-fi&logoColor=brown)](https://ko-fi.com/vinyzu)