Home
Softono
recaptcha_solver

recaptcha_solver

Open source Python
13
Stars
3
Forks
0
Issues
1
Watchers
4 years
Last Commit

About recaptcha_solver

# Recaptcha solver [![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg?style=flat-square)](https://www.python.org/) [![GitHub](https://img.shields.io/github/license/BrunoASNascimento/recaptcha_solver?style=flat-square)](LICENSE) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/BrunoASNascimento/recaptcha_solver.svg?logo=lgtm&logoWidth=18&style=flat-square)](https://lgtm.com/projects/g/BrunoASNascimento/recaptcha_solver/context:python) [![PyPI](https://img.shields.io/pypi/v/recaptcha-solver?style=flat-square)](https://pypi.org/project/recaptcha-solver/) [![wakatime](https://wakatime.com/badge/github/BrunoASNascimento/recaptcha_solver.svg?style=flat-square)](https://wakatime.com/badge/github/BrunoASNascimento/recaptcha_solver) Resolve Recaptcha usando selenium e o pyautogui. ## Instalação: `$ pip install recaptcha-solver` ## Parâmetros: - **path_download [string]**: Local de download padrão do navegador. - **[img_activate_recaptcha [string]](img/img_activat ...

Platforms

Web Self-hosted

Languages

Python

Links

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