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.
GNU General Public License v3.0
518 stars 62 forks source link
ai automation bots botting browser captcha captcha-solver captcha-solving chrome chromium playwright stealth undectectable undetected

Botright v0.5.1

Tests & Linting Downloads


Sponsors

If you need to solve a captcha which isn´t solvable with Botright or you dont want to spend you´re own computer resources on AI solving, I can personally recommend:

Capsolver Banner

Capsolver.com is an AI-powered service that specializes in solving various types of captchas automatically. It supports captchas such as reCAPTCHA V2, reCAPTCHA V3, hCaptcha, FunCaptcha, DataDome, AWS Captcha, Geetest and Cloudflare Captcha / Challenge 5s, Imperva / Incapsula, among others.

For developers, Capsolver offers API integration options detailed in their documentation, facilitating the integration of captcha solving into applications. They also provide browser extensions for both Chrome and Firefox, 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

Evomi is your Swiss Quality, affordable Proxy Provider. I can personally recommend them for their High Quality Residential Proxies.


Install it from PyPI

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!

import asyncio

import 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


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.

Furthermore, it uses self-scraped 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 ✔️ 0.9
=> recaptcha-demo.appspot.com ✔️ 0.9
=> berstend.github.io ✔️ 0.9
=> antcpt.com ❌❓ 0.1 (Detects Legitimate Browsers as Bad)
CreepJS ✔️ ~65.5% (With Canvas Manipulation 52%)
DataDome ✔️
=> antoinevastel.com ✔️
=> datadome.co ✔️
Imperva ✔️❓ (Cant find approved Testing Sites)
=> ticketmaster.es ✔️
Cloudflare ✔️
=> Turnstile ✔️ (Using Undetected-Playwright-Python)
=> Interstitial ✔️ (Using Undetected-Playwright-Python)
SannySoft ✔️
Incolumitas ✔️ 0.8-1.0
Fingerprint.com ✔️
IpHey ✔️
BrowserScan ✔️
PixelScan (Platform Test Outdated & Maybe caused by WebGL-disabling)
Bet365 ✔️ 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.

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 file.


Copyright and License

© Vinyzu

GNU GPL

(Commercial Usage is allowed, but source, license and copyright has to made available. Botright does not provide and Liability or Warranty)


Thanks to

Kaliiiiiiiiii (For shared knowledge of Anti-Browser-Detection Measures)

Kaliiiiiiiiii (For Main-Authoring Undetected-Playwright (Co-Authored by me) )

QIN2DIM (For his great AI work)

MaxAndolini (For shared knowledge of hCaptcha bypassing)

CreativeProxies (For sponsoring me with Proxies)


Version License Python

my-discord buy-me-a-coffee