.. image:: https://img.shields.io/pypi/v/solverecaptchas.svg
:alt: PyPI
:target: https://pypi.org/project/solverecaptchas/
.. image:: https://img.shields.io/pypi/pyversions/solverecaptchas.svg
:alt: PyPI - Python Version
:target: https://pypi.org/project/solverecaptchas/
.. image:: https://img.shields.io/pypi/l/solverecaptchas.svg
:alt: PyPI - License
:target: https://pypi.org/project/solverecaptchas/
.. image:: https://img.shields.io/pypi/status/solverecaptchas.svg
:alt: PyPI - Status
:target: https://pypi.org/project/solverecaptchas/
An async Python library to automate solving ReCAPTCHA v2 using Playwright.
This project is for educational and research purposes only. Any actions and/or activities related to the material contained on this GitHub Repository is solely your responsibility. The misuse of the information in this GitHub Repository can result in criminal charges brought against the persons in question. The author will not be held responsible in the event any criminal charges be brought against any individuals misusing the information in this GitHub Repository to break the law.
I've trained a model that detects each of the following classes which support 9x grid.
This model can be downloaded from https://mikey.id/yolov3.weights. I've provided the other necessary files under model/.
Linux, macOS, and Windows!
.. code:: shell
$ pip install solverecaptchas
If you want to use it in your own script
.. code:: python
import asyncio
import sys
from solverecaptchas.solver import Solver
if len(sys.argv) == 4:
pageurl, sitekey, proxy = sys.argv[1:]
else:
print('Invalid number of arguments (pageurl, sitekey, proxy)')
sys.exit(0)
if proxy.lower() == "none":
proxy = None
client = Solver(pageurl, sitekey, proxy=proxy)
result = asyncio.run(client.start())
if result:
print(result)