From 49c69f3a97d5cb5ccdfdf54402784ed81d2ec42f Mon Sep 17 00:00:00 2001 From: Maxim S Date: Thu, 12 Mar 2026 15:52:58 +0100 Subject: [PATCH] added api_server parameter to the captchafox method documentation --- twocaptcha/async_solver.py | 5 +++++ twocaptcha/solver.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/twocaptcha/async_solver.py b/twocaptcha/async_solver.py index 134be8b..8a58f8a 100644 --- a/twocaptcha/async_solver.py +++ b/twocaptcha/async_solver.py @@ -868,6 +868,11 @@ async def captchafox(self, sitekey, pageurl, userAgent, proxy, **kwargs): User-Agent of the browser that will be used by the employee when loading the captcha. proxy : dict {'type': 'HTTPS', 'uri': 'login:password@IP_address:PORT'}. + api_server : str, optional + Default: https://cdn.captchafox.com/. Depending on the parameter value, the token format + changes — it will be prefixed with MAM_. For this, you need to set the server URL to: + https://s.uicdn.com/mampkg/@mamdev/core.frontend.libs.captchafox/. Two different APIs + return two different tokens. Choose the one you need. ''' diff --git a/twocaptcha/solver.py b/twocaptcha/solver.py index da25d11..2ff945b 100755 --- a/twocaptcha/solver.py +++ b/twocaptcha/solver.py @@ -998,6 +998,11 @@ def captchafox(self, sitekey, pageurl, userAgent, proxy, **kwargs): User-Agent of the browser that will be used by the employee when loading the captcha. proxy : dict {'type': 'HTTPS', 'uri': 'login:password@IP_address:PORT'}. + api_server : str, optional + Default: https://cdn.captchafox.com/. Depending on the parameter value, the token format + changes — it will be prefixed with MAM_. For this, you need to set the server URL to: + https://s.uicdn.com/mampkg/@mamdev/core.frontend.libs.captchafox/. Two different APIs + return two different tokens. Choose the one you need. '''