Spaces:
Paused
Paused
Update hcaptcha_solver.py
Browse files- hcaptcha_solver.py +1 -0
hcaptcha_solver.py
CHANGED
|
@@ -224,6 +224,7 @@ async def main(host,key):
|
|
| 224 |
tasks = asyncio.gather(bytedance(host,key),
|
| 225 |
return_exceptions=True)
|
| 226 |
await tasks
|
|
|
|
| 227 |
except asyncio.CancelledError:
|
| 228 |
print("task done")
|
| 229 |
return token
|
|
|
|
| 224 |
tasks = asyncio.gather(bytedance(host,key),
|
| 225 |
return_exceptions=True)
|
| 226 |
await tasks
|
| 227 |
+
return token
|
| 228 |
except asyncio.CancelledError:
|
| 229 |
print("task done")
|
| 230 |
return token
|