https://github.com/threadexio/python-captcha-bypass
A small python library to automatically solve reCAPTCHAs
https://github.com/threadexio/python-captcha-bypass
captcha-recaptcha captcha-solver recaptcha-solver-python recaptcha-v2-captcha-solver selenium-python
Last synced: about 2 months ago
JSON representation
A small python library to automatically solve reCAPTCHAs
- Host: GitHub
- URL: https://github.com/threadexio/python-captcha-bypass
- Owner: threadexio
- License: mit
- Created: 2021-03-06T14:27:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-13T18:50:38.000Z (about 1 year ago)
- Last Synced: 2025-03-30T11:41:34.693Z (3 months ago)
- Topics: captcha-recaptcha, captcha-solver, recaptcha-solver-python, recaptcha-v2-captcha-solver, selenium-python
- Language: Python
- Homepage:
- Size: 15.9 MB
- Stars: 33
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-captcha-bypass
[](https://github.com/threadexio/python-captcha-bypass/blob/master/LICENSE)
[](https://app.travis-ci.com/github/threadexio/python-captcha-bypass)A small and harmless utility written in Python used to solve CAPTCHAs with Selenium.
# How to use
1. Clone this repo
```bash
git clone https://github.com/threadexio/python-captcha-bypass
```2. Copy `src/captcha_bypass.py` to your project
3. Import with `from captcha_bypass import solve_captcha`
-------
# Dependencies:
- 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`- 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`-------
# Docs
```python
solve_captcha(browser, captcha)
```
`browser`: is the active webdriver instance (`selenium.webdriver`)`captcha`: is a reference to the CAPTCHA's iframe
### See `src/test.py` for a code example
-------
### Legal Disclaimer
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