https://github.com/body-alhoha/turnaround
A browser based solver for Turnstile (Cloudflare's captcha)
https://github.com/body-alhoha/turnaround
captcha cloudflare solver turnstile
Last synced: 23 days ago
JSON representation
A browser based solver for Turnstile (Cloudflare's captcha)
- Host: GitHub
- URL: https://github.com/body-alhoha/turnaround
- Owner: Body-Alhoha
- License: gpl-3.0
- Created: 2023-08-29T21:56:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-02T17:05:08.000Z (30 days ago)
- Last Synced: 2025-04-02T18:23:09.259Z (30 days ago)
- Topics: captcha, cloudflare, solver, turnstile
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 93
- Watchers: 5
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
(paid ad)Turnaround
Uses playwright to automatically solve Turnstile## Installation
pip install -r requirements.txt## Usage
```py
with sync_playwright() as playwright:
s = solver.Solver(playwright, headless=False) # creates a new solver object
captcha = s.solve("https://modrinth.com/auth/sign-up", "0x4AAAAAAAHWfmKCm7cUG869", invisible=True) # first argument is the website url & second one is the website sitekey
# s.solve will return "failed" if it failed to solve the captcha.
print(captcha)
s.terminate() # terminates the browser
```If you want to use the solver in a loop, keep the same solver object and use it over again to not instantiate a new browser each time, look at [example.py](https://github.com/Body-Alhoha/turnaround/blob/main/example.py)
Feel free to contribute