Metadata-Version: 2.1
Name: goodbyecaptcha
Version: 2.2.1
Summary: An asynchronized Python library to automate solving ReCAPTCHA v2 by audio/images
Home-page: https://github.com/MacKey-255/GoodByeCatpcha
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.7
Classifier: Programming Language :: JavaScript
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Dist: aiobotocore (==0.11.0)
Requires-Dist: aiofiles (==0.4.0)
Requires-Dist: aiohttp (==3.6.2)
Requires-Dist: appdirs (==1.4.3)
Requires-Dist: async-generator (==1.10)
Requires-Dist: async-timeout (==3.0.1)
Requires-Dist: attrs (==19.3.0)
Requires-Dist: beautifulsoup4 (==4.8.1)
Requires-Dist: botocore (==1.13.26)
Requires-Dist: certifi (==2019.9.11)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: docutils (==0.15.2)
Requires-Dist: entrypoints (==0.3)
Requires-Dist: flake8 (==3.7.9)
Requires-Dist: fuckcaptcha (==0.1.0)
Requires-Dist: idna (==2.8)
Requires-Dist: jmespath (==0.9.4)
Requires-Dist: mccabe (==0.6.1)
Requires-Dist: multidict (==4.6.1)
Requires-Dist: numpy (==1.17.4)
Requires-Dist: opencv-python (==4.1.2.30)
Requires-Dist: peewee (==3.11.2)
Requires-Dist: Pillow (==6.2.1)
Requires-Dist: pocketsphinx (==0.1.15)
Requires-Dist: psutil (==5.6.5)
Requires-Dist: pycodestyle (==2.5.0)
Requires-Dist: pydub (==0.23.1)
Requires-Dist: pyee (==6.0.0)
Requires-Dist: pyflakes (==2.1.1)
Requires-Dist: pyppeteer (==0.0.25)
Requires-Dist: python-dateutil (==2.8.1)
Requires-Dist: PyYAML (==5.1.2)
Requires-Dist: requests (==2.22.0)
Requires-Dist: six (==1.13.0)
Requires-Dist: soupsieve (==1.9.5)
Requires-Dist: SpeechRecognition (==3.8.1)
Requires-Dist: tqdm (==4.39.0)
Requires-Dist: urllib3 (==1.25.7)
Requires-Dist: user-agent (==0.1.9)
Requires-Dist: websockets (==8.1)
Requires-Dist: wrapt (==1.11.2)
Requires-Dist: yarl (==1.3.0)

.. image:: https://travis-ci.org/mikeyy/nonoCAPTCHA.svg?branch=master
    :target: https://travis-ci.org/mikeyy/nonoCAPTCHA
.. image:: https://img.shields.io/pypi/v/nonocaptcha.svg
    :alt: PyPI
    :target: https://pypi.org/project/goodbyecaptcha/
.. image:: https://img.shields.io/pypi/pyversions/nonocaptcha.svg
    :alt: PyPI - Python Version
    :target: https://pypi.org/project/goodbyecaptcha/
.. image:: https://img.shields.io/pypi/l/nonocaptcha.svg
    :alt: PyPI - License
    :target: https://pypi.org/project/goodbyecaptcha/
.. image:: https://img.shields.io/pypi/status/nonocaptcha.svg
    :alt: PyPI - Status
    :target: https://pypi.org/project/goodbyecaptcha/

GoodByeCaptcha
==============

An async Python library to automate solving ReCAPTCHA v2 by images/audio using
Mozilla's DeepSpeech, PocketSphinx, Microsoft Azure’s, Google Speech and
Amazon's Transcribe Speech-to-Text API. Also image recognition to detect
the object suggested in the captcha. 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.

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

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

Linux, macOS, and Windows!

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

Python
`3.7.0 <https://www.python.org/downloads/release/python-370/>`__,
`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, Wit.AI, and for Pocketsphinx
you'll need pulseaudio, swig, libasound2-dev, and libpulse-dev under Ubuntu.

Installation
------------

.. code:: shell

   $ pip install goodbyecaptcha


Deploy
------

.. code:: shell

    rm -R dist/ && rm -R build/ && rm -R goodbyecaptcha.egg-info/ && python3.7 setup.py sdist && python3.7 setup.py sdist bdist_wheel && python3.7 -m twine check dist/* && python3.7 -m twine upload --skip-existing dist/* --verbose


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

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

Usage
-----

If you want to use it in your own script

.. code:: python

    from goodbyecaptcha.solver import Solver

    pageurl = "https://www.google.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, "method": 'images', "args": args}
    client = Solver(
        # With Proxy
        pageurl, sitekey, options=options, proxy=proxy, proxy_auth=auth_details
        # Without Proxy
        # pageurl, sitekey, options=options
    )

    solution = client.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 and GoodByeCaptcha. Any donations would be a great help in
allowing me to purchase these proxies, that are clearly expensive.
If anyone is willing to share their proxies, I wouldn't hesitate to accept
the offer.

Bitcoin: 1BfWQWAZBsSKCNQZgsq2vwaKxYvkrhb14u

