zhou12189108 commited on
Commit
2ac9c68
1 Parent(s): 4df50ce

Upload hcaptcha_solver.py

Browse files
Files changed (1) hide show
  1. hcaptcha_solver.py +2 -1
hcaptcha_solver.py CHANGED
@@ -126,6 +126,7 @@ def prelude(page: Page) -> AgentT:
126
  page=page,
127
  # modelhub, Register modelhub externally, and the agent can patch custom configurations
128
  modelhub=modelhub,
 
129
  # clip, Enable CLIP zero-shot image classification method
130
  clip=True,
131
  )
@@ -169,7 +170,7 @@ async def bytedance(host, sitekey):
169
  context = await browser.new_context(
170
  locale="en-US"
171
  )
172
- #await Malenia.apply_stealth(context)
173
 
174
  token = await hit_challenge(context, host, sitekey)
175
  return token
 
126
  page=page,
127
  # modelhub, Register modelhub externally, and the agent can patch custom configurations
128
  modelhub=modelhub,
129
+ tmp_dir="tmp_dir",
130
  # clip, Enable CLIP zero-shot image classification method
131
  clip=True,
132
  )
 
170
  context = await browser.new_context(
171
  locale="en-US"
172
  )
173
+ await Malenia.apply_stealth(context)
174
 
175
  token = await hit_challenge(context, host, sitekey)
176
  return token