-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
调用以下代码的时候会卡住,一直超时:
raw_requests.py", line 290,
result = solver.turnstile(sitekey=cf_capcha_site_key, url=checkin_page, useragent=user_agent)
2captcha网站显示ERROR_CAPTCHA_UNSOLVABLE

最近才出现这种情况,以前没有。请问怎么解决呢?谢谢
完整报错
Traceback (most recent call last):
File "D:/PycharmProjects/1point3acres/src/service.py", line 111, in <module>
main()
File "D:/PycharmProjects/1point3acres/src/service.py", line 97, in main
do_all_cookie(solver, user["cookie"])
File "D:/PycharmProjects/1point3acres/src/service.py", line 70, in do_all_cookie
do_daily_checkin2_(solver)
File "D:\PycharmProjects\1point3acres\src\raw_requests.py", line 290, in do_daily_checkin2_
result = solver.turnstile(sitekey=cf_capcha_site_key, url=checkin_page, useragent=user_agent)
File "xxx\AppData\Local\Programs\Python\Python37\lib\site-packages\twocaptcha\solver.py", line 446, in turnstile
**kwargs)
File "xxx\AppData\Local\Programs\Python\Python37\lib\site-packages\twocaptcha\solver.py", line 500, in solve
code = self.wait_result(id_, timeout, sleep)
File "xxx\AppData\Local\Programs\Python\Python37\lib\site-packages\twocaptcha\solver.py", line 518, in wait_result
raise TimeoutException(f'timeout {timeout} exceeded')
twocaptcha.solver.TimeoutException: timeout 120.0 exceeded
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels