Botright v0.5.1
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 | 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
(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)
Metadata
Release files for botright 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| botright-0.5.1.tar.gz | 53.2 kB | Without provenance | Details for botright-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| botright-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for botright-0.5.1-py3-none-any.whl |
Total release size: 109.9 kB
Release files / botright-0.5.1.tar.gz
| Download URL | botright-0.5.1.tar.gz |
|---|---|
| Size | 53.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b174100eb6a56b35085385b8aa22e9bfb141554cc1146081033ca0404a13a9c
|
|
BLAKE2b-256 checksum How to use checksums |
14bdcd61d5b402a29b6b9333fca5ed57cd5b8fd5d6dc0da89707cf1ae74ee0b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Release files / botright-0.5.1-py3-none-any.whl
| Download URL | botright-0.5.1-py3-none-any.whl |
|---|---|
| Size | 56.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4817f34551d7f591e11ea26bc1ebe85298fbbc73d104ca9059302ff976e6f833
|
|
BLAKE2b-256 checksum How to use checksums |
8c7bb2bafe94feb18520628c4d84a1076bd4dd6d46e3b4be2065f2b1cda27c2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Security for botright 0.5.1
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.