A small python library to automatically solve reCAPTCHAs
This repository has been archived on 2026-04-25. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 95.6%
  • Dockerfile 3.9%
  • Shell 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-09-28 15:45:27 +03:00
src Added some error checking, rewrote some stuff 2021-09-28 15:45:27 +03:00
.gitignore It finally works! 2021-03-07 15:35:26 +02:00
.travis.yml Some code refactoring, increased solving speed 2021-08-30 15:27:10 +03:00
Dockerfile Some code refactoring, increased solving speed 2021-08-30 15:27:10 +03:00
entry.sh Some code refactoring, increased solving speed 2021-08-30 15:27:10 +03:00
LICENSE Some code refactoring, increased solving speed 2021-08-30 15:27:10 +03:00
README.md Some code refactoring, increased solving speed 2021-08-30 15:27:10 +03:00
requirements.txt Some code refactoring, increased solving speed 2021-08-30 15:27:10 +03:00

python-captcha-bypass

License Tests

A small and harmless utility written in Python used to solve CAPTCHAs with Selenium.

How to use

  1. Clone this repo
git clone https://github.com/threadexio/python-captcha-bypass
  1. Copy src/captcha_bypass.py to your project

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

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


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