Skip to main content

No project description provided

Project description

Recaptcha solver

made-with-python GitHub Language grade: Python PyPI wakatime

Resolve Recaptcha usando selenium e o pyautogui.

Instalação:

$ pip install recaptcha-solver

Parâmetros:

Retorno:

Boll, caso True o Recaptcha foi quebrado com sucesso, caso False, o Recaptcha NÃO foi quebrado.

Como usar:

  • Google chrome debug:

    Para o Recaptcha não marcar o driver do selenium como um robô, é necessário iniciar o chrome com o seguinte comando:

    $ "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=8989 --user-data-dir="seu-local-para-salvar-dados"

  • Configurando o driver do selenium:

    É necessário passar alguns parâmetro no selenium para o correto funcionamento dele, os comandos são:

         chrome_options.add_experimental_option(
             'debuggerAddress',
             'localhost:8989'
         )
         chrome_options.add_argument('--ignore-certificate-errors')
         chrome_options.add_argument("--start-maximized")
         chrome_options.add_argument('--ignore-ssl-errors')
    

Código de apoio:

Para um maior compreendimento de como utilizar a biblioteca, é possível ver o código test.py, onde ocorre a quebra do Recaptcha no site recaptcha/api2/demo.

Desinstalar:

$ pip uninstall recaptcha-solver

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

recaptcha_solver-1.0.4.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distribution

recaptcha_solver-1.0.4-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

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