Hack Forums
[Python] nonoCAPTCHA - An asynchronized Python library to automate solving ReCAPTCHA v2 - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] nonoCAPTCHA - An asynchronized Python library to automate solving ReCAPTCHA v2 (/showthread.php?tid=5884466)



nonoCAPTCHA - An asynchronized Python library to automate solving ReCAPTCHA v2 - mikeyymooney - Sep 13, 2018

I was unsure where to post this. I am the developer of this project.


nonoCAPTCHA

An async Python library to automate solving ReCAPTCHA v2 by audio using Mozilla's DeepSpeech, PocketSphinx, Microsoft Azure’s, and Amazon's Transcribe Speech-to-Text API. Built with Pyppeteer for Chrome automation framework and similarities to Puppeteer, PyDub for easily converting MP3 files into WAV, aiohttp for async minimalistic web-server, and Python’s built-in AsyncIO for convenience.

Compatibility

Linux, macOS, and Windows!

Requirements

Python 3.6.0 - 3.7.0, FFmpeg, a Microsoft Azure account for Bing Speech API access, an Amazon Web Services account for Transcribe and S3 access, and for Pocketsphinx you'll need pulseaudio, swig, libasound2-dev, and libpulse-dev under Ubuntu.
Installation

Code
$ pip install nonocaptcha

Configuration

Please edit nonocaptcha.example.yaml and save as nonocaptcha.yaml

Usage

If you want to use it in your own script

Code
import asyncio
from nonocaptcha.solver import Solver

pageurl = "google[dot]com/recaptcha/api2/demo"
sitekey = "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"

proxy = "127.0.0.1:1000"
auth_details = {
    "username": "user",
    "password": "pass"
}
args = ["--timeout 5"]
options = {"ignoreHTTPSErrors": True, "args": args}
client = Solver(
    pageurl,
    sitekey,
    options=options,
    proxy=proxy,
    proxy_auth=auth_details,
)

solution = asyncio.get_event_loop().run_until_complete(client.start())
if solution:
    print(solution)

Donations

The use of proxies are required for my continuous updates and fixes on nonoCAPTCHA. Any donations would be a great help in allowing me to purchase these proxies, that are clearly expensive. If anyone would is willing to share their proxies, I wouldn't hesitate to accept the offer.

Bitcoin: 1BfWQWAZBsSKCNQZgsq2vwaKxYvkrhb14u

Github Repository: github[dot]com/mikeyy/nonoCAPTCHA


RE: nonoCAPTCHA - An asynchronized Python library to automate solving ReCAPTCHA v2 - Influxes - Sep 26, 2018

How would I use this with selenium?