google-recaptcha-bypass Documentation

repository·main·Indexed 23 days ago

https://github.com/sarperavci/googlerecaptchabypass

A Python-based tool for bypassing Google reCAPTCHA by automating the browser to solve audio captchas. It utilizes the DrissionPage library and requires ffmpeg for operation. The package provides the RecaptchaSolver class and solveCaptcha() method to automate the solving process on a ChromiumPage instance.

Tokens
427
Snippets
2
Records
3
Agent score
33%

What's inside google-recaptcha-bypass

  1. How RecaptchaSolver works

    main

    The solver automates the browser to solve the reCAPTCHA by targeting the audio captcha option instead of the image-based captcha. The audio captcha is more accessible for programmatic solving.

    Warning: Frequent solving in a short timeframe may result in Google blocking your IP address. It is recommended to use proxies or change your IP frequently to avoid detection.

  2. Install Google Recaptcha Solver

    main

    To install the necessary Python dependencies, run the following command:

    pip install -r requirements.txt

    Additionally, the project requires ffmpeg to be installed on your system. On Debian-based systems, you can install it using:

    sudo apt-get install ffmpeg
  3. Use RecaptchaSolver with DrissionPage

    main

    To integrate the solver into your project, initialize a ChromiumPage instance from DrissionPage and pass it to the RecaptchaSolver class. You can then call the solveCaptcha() method to automate the solving process on the current page.

    Note: The solver works by automating the browser to solve the audio captcha rather than the image captcha, as audio is easier to solve programmatically. Use this wisely, as Google may block your IP if you solve too many captchas in a short period.

    from DrissionPage import ChromiumPage 
    from RecaptchaSolver import RecaptchaSolver
    driver = ChromiumPage()
    recaptchaSolver = RecaptchaSolver(driver)
    driver.get("https://www.google.com/recaptcha/api2/demo")
    recaptchaSolver.solveCaptcha()