Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qin2dim/recaptcha-challenger

🦉Gracefully face reCAPTCHA challenge with ModelHub embedded solution.
https://github.com/qin2dim/recaptcha-challenger

onnx onnx-models recaptcha recaptcha-solver recaptcha-v2 recaptcha-v2-captcha-solver

Last synced: 6 days ago
JSON representation

🦉Gracefully face reCAPTCHA challenge with ModelHub embedded solution.

Awesome Lists containing this project

README

        


reCAPTCHA Challenger


🦉Gracefully face reCAPTCHA challenge with ModelHub embedded solution.













![recaptcha-challenge-demo](https://user-images.githubusercontent.com/62018067/193613510-ffb6b316-f027-47f5-9f7a-9795465b635c.gif)

## Quick Start

1. **Pull PyPi packages**

```bash
pip install recaptcha-challenger
```

2. **Just do it**

```python
import typing

from playwright.sync_api import sync_playwright, Page

from recaptcha_challenger import new_audio_solver


def motion(page: Page) -> typing.Optional[str]:
solver = new_audio_solver()
if solver.utils.face_the_checkbox(page):
solver.anti_recaptcha(page)
return solver.response


def bytedance():
with sync_playwright() as p:
browser = p.chromium.launch(headless=False)
ctx = browser.new_context(locale="en-US")
page = ctx.new_page()
page.goto("https://www.google.com/recaptcha/api2/demo")
response = motion(page)
print(response)
browser.close()


if __name__ == "__main__":
bytedance()

```