Spaces:
Running
Running
Upload hcaptcha_solver.py
Browse files- hcaptcha_solver.py +1 -1
hcaptcha_solver.py
CHANGED
@@ -257,7 +257,7 @@ async def hit_challenge(context: ASyncContext, host, sitekey, times: int = 8):
|
|
257 |
|
258 |
async def bytedance(host, sitekey):
|
259 |
async with async_playwright() as p:
|
260 |
-
browser = await p.firefox.launch(headless=
|
261 |
context = await browser.new_context(
|
262 |
locale="en-US"
|
263 |
)
|
|
|
257 |
|
258 |
async def bytedance(host, sitekey):
|
259 |
async with async_playwright() as p:
|
260 |
+
browser = await p.firefox.launch(headless=True)
|
261 |
context = await browser.new_context(
|
262 |
locale="en-US"
|
263 |
)
|