File size: 404 Bytes
2a992c7
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)