A small and harmless utility written in Python used to solve CAPTCHAs with Selenium.
- Clone this repo
git clone https://github.com/threadexio/python-captcha-bypass
-
Copy
src/captcha_bypass.py
to your project -
Import with
from captcha_bypass import solve_captcha
-
python3
-
chromium (or Google Chrome, others might work but are not tested)
- Windows:
https://www.chromium.org/getting-involved/download-chromium
- Linux:
- Debian-based:
sudo apt-get install chromium
- Arch-based:
sudo pacman -S chromium
- Fedora-based:
sudo dnf install chromium
- Debian-based:
- Windows:
-
ffmpeg
- Windows:
https://www.ffmpeg.org/download.html
- Linux:
- Debian-based:
sudo apt-get install ffmpeg
- Arch-based:
sudo pacman -S ffmpeg
- Fedora-based:
sudo dnf install ffmpeg
- Debian-based:
- Windows:
solve_captcha(browser, captcha)
browser
: is the active webdriver instance (selenium.webdriver
)
captcha
: is a reference to the CAPTCHA's iframe
This was made for educational purposes only, nobody directly involved in this project is responsible for any damages caused. You are responsible for your actions