Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/qin2dim/recaptcha-challenger
- Owner: QIN2DIM
- License: gpl-3.0
- Created: 2022-02-24T14:16:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T11:13:57.000Z (over 1 year ago)
- Last Synced: 2024-10-18T08:15:38.602Z (3 months ago)
- Topics: onnx, onnx-models, recaptcha, recaptcha-solver, recaptcha-v2, recaptcha-v2-captcha-solver
- Language: Python
- Homepage:
- Size: 70.3 KB
- Stars: 48
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![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()
```