Metadata-Version: 2.1
Name: nonocaptcha
Version: 1.5.2
Summary: An asynchronized Python library to automate solving ReCAPTCHA v2 by audio, using Microsoft Azure's Speech-to-Text API. 
Home-page: https://github.com/mikeyy/nonoCAPTCHA
Author: Michael Mooney <mikeyy@mikeyy.com>
Author-email: mikeyy@mikeyy.com
License: GPL-3.0
Platform: all
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: JavaScript
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Dist: aiobotocore
Requires-Dist: aiofiles (==0.3.2)
Requires-Dist: aiohttp (==3.3.2)
Requires-Dist: async-timeout (==3.0.0)
Requires-Dist: attrs (==18.1.0)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: idna (==2.7)
Requires-Dist: idna-ssl (==1.0.1)
Requires-Dist: multidict (==4.3.1)
Requires-Dist: pocketsphinx (==0.1.15)
Requires-Dist: psutil (==5.4.6)
Requires-Dist: pydub (==0.22.1)
Requires-Dist: pyee (==5.0.0)
Requires-Dist: pyppeteer (==0.0.17)
Requires-Dist: requests (==2.19.1)
Requires-Dist: six (==1.11.0)
Requires-Dist: user-agent (==0.1.9)
Requires-Dist: websockets (==5.0.1)
Requires-Dist: yarl (==1.2.6)

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 it’s Chrome automation framework
and similarities to Puppeteer, PyDub for easily converting MP3 files into WAV, 
aiohttp for it’s async minimalistic web-server, and Python’s built-in AsyncIO
for convenience.

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.

Public
------

This script was first featured on Reddit at
`/r/Python <https://reddit.com/r/Python>`__ - `see
here <https://www.reddit.com/r/Python/comments/8oqp7v/hey_i_made_a_google_recaptcha_solver_bot_too/>`__
for the thread. I’ve finally decided to release the script.

Preview
-------

Check out this 1-minute presentation of the script in action, with only
8 threads!

.. figure:: https://github.com/mikeyy/nonoCAPTCHA/blob/presentation/presentation.gif
   :alt: nonoCAPTCHA preview

   nonoCAPTCHA preview

Compatibility
-------------

Linux, macOS, and Windows!

Requirements
------------

`Python
3.6.5 <https://www.python.org/downloads/release/python-365/>`__,
`FFmpeg <https://ffmpeg.org/download.html>`__, a `Microsoft
Azure <https://portal.azure.com/>`__ 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:: shell

   $ pip install nonocaptcha

Configuration
-------------

Please edit config.example.py and save as config.py

Usage
-----

If you would like to use it in your own script

.. code:: python

   import asyncio
   from nonocaptcha.solver import Solver
   from config import settings

   client = Solver(
       settings['pageurl'],
       settings['sitekey'],
       options=options,
       proxy=proxy,
       proxy_auth=auth_details(),
   )

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

Or use the included async script app.py/run.py

*Edit variable count for amount of threads to use*

.. code:: shell

   $ python examples/run.py

Use the included mini-server and access
http://localhost:5000/get?pageurl=PAGEURL&sitekey=SITEKEY

*Replace PAGEURL and SITEKEY with the websites ReCAPTCHA details.*

.. code:: shell

   $ python examples/app.py


