Skip to main content

An asynchronized Python library to automate solving ReCAPTCHA v2

Project description

PyPI PyPI - Python Version PyPI - License PyPI - Status

Solverecaptchas

An async Python library to automate solving ReCAPTCHA v2 using Playwright.

Disclaimer

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.

Trained model

I’ve trained a model that detects each of the following classes which support 9x grid.

  1. bicycle

  2. boat

  3. bridge

  4. bus

  5. car

  6. chimneys

  7. crosswalk

  8. fire hydrant

  9. motorcycles

  10. mountains or hills

  11. palm trees

  12. stair

  13. taxi

  14. tow truck

  15. traffic light

  16. traffic sign

  17. truck

This model can be downloaded from https://mikey.id/yolov3.weights. I’ve provided the other necessary files under model/.

Compatibility

Linux, macOS, and Windows!

Installation

$ pip install solverecaptchas

Usage

If you want to use it in your own script

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solverecaptchas-0.1.5.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

solverecaptchas-0.1.5-py3.10.egg (43.0 kB view details)

Uploaded Source

File details

Details for the file solverecaptchas-0.1.5.tar.gz.

File metadata

  • Download URL: solverecaptchas-0.1.5.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for solverecaptchas-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3bac37e64025ad0197cba299e5cc74aeef2e1a7ca52c12f9460e715e2f8ab844
MD5 5419bc7a38fb66d4b92f20cf4aed6e1a
BLAKE2b-256 29eab487de32bae732ad741658e531b314677dddca2e990ea8b1e819040c5320

See more details on using hashes here.

File details

Details for the file solverecaptchas-0.1.5-py3.10.egg.

File metadata

  • Download URL: solverecaptchas-0.1.5-py3.10.egg
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for solverecaptchas-0.1.5-py3.10.egg
Algorithm Hash digest
SHA256 119f0994c87322a21010183f3a6798b3d0fc0864da377d3433056696f9daa348
MD5 d4ab7b71b28231d1093f6cf48d983ce9
BLAKE2b-256 afeff2befd4985d3b02ae1420667040bace21534f280f8ec9b8e7d0a5dfc80b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page