zhou12189108 commited on
Commit
320df59
·
verified ·
1 Parent(s): 09ba829

Upload hcaptcha_solver.py

Browse files
Files changed (1) hide show
  1. 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=False)
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
  )