Botright, the next level automation studio for Python. Based on Playwright.
Project description
Botright v0.3
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 scraped and AI-enhanced (bayesian network based) 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 | ✔️ | ~56% (With Canvas Manipulation 9%) |
DataDome | ✔️ | |
=> antoinevastel.com | ✔️ | |
=> datadome.co | ✔️ | |
Imperva | ✔️❓ | (Cant find approved Testing Sites) |
=> ticketmaster.es | ✔️ | |
Cloudflare | ❌ | |
=> Turnstile | ❌ | |
=> Interstitial | ❌ | |
SannySoft | ✔️ | |
Incolumitas | ✔️ | 0.8-1.0 |
Fingerprint.com | ✔️ | |
IpHey | ✔️ | |
BrowserScan | ❓ | (Maybe caused by WebGL-disabling) |
PixelScan | ❓ | (Platform Test Outdated & Maybe caused by WebGL-disabling) |
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 Currently Not Available! |
✔️ | recaptcha-challenger | 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
QIN2DIM (For his great AI work)
MaxAndolini (For shared knowledge of hCaptcha bypassing)
CreativeProxies (For sponsoring me with Proxies)
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
Built Distribution
File details
Details for the file botright-0.4.post1.tar.gz
.
File metadata
- Download URL: botright-0.4.post1.tar.gz
- Upload date:
- Size: 14.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a90faeb7e5c840efc0c87599e78b50426eaec8b8949105a49eb6a8be048ce474 |
|
MD5 | bd044d1934481f5420eca93ba8a476d5 |
|
BLAKE2b-256 | 159bd7c7cd16707a76b865428ffa03e327f6b2a4c490b3e931e32894e9d25fc3 |
File details
Details for the file botright-0.4.post1-py3-none-any.whl
.
File metadata
- Download URL: botright-0.4.post1-py3-none-any.whl
- Upload date:
- Size: 835.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 258fa3abd775c29af9249e28c0beb8e64f4efda0e2457132595afc34fea68663 |
|
MD5 | 8f466a0484fa0fa992ecd1cd8be764e5 |
|
BLAKE2b-256 | 309e1b57039a47e11d3dd3eda6e5ccafca204e8b11a03eb2fc0e7252a0bfceee |