Skip to content

Commit 65ce69e

Browse files
author
nextcaptcha
committed
params fix
1 parent e213315 commit 65ce69e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

nextcaptcha/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44

55

6-
__version__ = '1.0.8'
6+
__version__ = '1.0.9'

nextcaptcha/next.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def _get_balance(self) -> str:
6060
def _send(self, task: dict) -> dict:
6161
data = {
6262
"clientKey": self.client_key,
63-
"solftId": self.solft_id,
63+
"softId": self.solft_id,
6464
"callbackUrl": self.callback_url,
6565
"task": task,
6666
}
@@ -187,7 +187,7 @@ def recaptchav3(self, website_url: str, website_key: str, page_action: str = "",
187187

188188
def recaptcha_mobile(self, app_key: str, app_package_name: str = "", app_action: str = "", proxy_type: str = "",
189189
proxy_address: str = "", proxy_port: int = 0, proxy_login: str = "",
190-
proxy_password: str = "") -> dict:
190+
proxy_password: str = "", app_device: str = "ios") -> dict:
191191
"""
192192
Solve Mobile reCAPTCHA challenge.
193193
@@ -201,6 +201,7 @@ def recaptcha_mobile(self, app_key: str, app_package_name: str = "", app_action:
201201
"appKey": app_key,
202202
"appPackageName": app_package_name,
203203
"appAction": app_action,
204+
"appDevice": app_device,
204205
}
205206
if proxy_address != "":
206207
task["type"] = RECAPTCHA_MOBILE_TYPE

0 commit comments

Comments
 (0)