From f431cd6fb18b23a3b78139328bc4d4d58044b17e Mon Sep 17 00:00:00 2001 From: dr4mohamed <38737729+dr4mohamed@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:00:17 +0100 Subject: [PATCH] Update next.py --- nextcaptcha/next.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nextcaptcha/next.py b/nextcaptcha/next.py index fb55f5e..9dc3985 100644 --- a/nextcaptcha/next.py +++ b/nextcaptcha/next.py @@ -130,7 +130,7 @@ def recaptchav2(self, website_url: str, website_key: str, recaptcha_data_s_value return self.api._send(task) def recaptchav2enterprise(self, website_url: str, website_key: str, enterprise_payload: dict = {}, - is_invisible: bool = False, api_domain: str = "", page_action: str = "") -> dict: + is_invisible: bool = False, api_domain: str = "", page_action: str = "", website_info: str = "") -> dict: """ Solve reCAPTCHA v2 Enterprise challenge. @@ -149,6 +149,7 @@ def recaptchav2enterprise(self, website_url: str, website_key: str, enterprise_p "isInvisible": is_invisible, "apiDomain": api_domain, "pageAction": page_action, + "websiteInfo": website_info, } return self.api._send(task)