🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

recaptcha-solver

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recaptcha-solver

1.0.4
PyPI
Maintainers
1

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

Keywords

recaptcha_solver

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts