TurnstileSolver / app.py
1een's picture
Create app.py
2a992c7 verified
raw
history blame contribute delete
404 Bytes
from api_solver import TurnstileAPIServer
import asyncio
app = TurnstileAPIServer(
headless=True,
useragent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
debug=False,
browser_type="chromium",
thread=1,
proxy_support=False
).app
if __name__ == "__main__":
app.run(host="0.0.0.0", port=7860)