Socket
Socket
Sign inDemoInstall

recaptcha-solver

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    recaptcha-solver


Maintainers
1

Readme

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

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc