Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nextcaptcha/next.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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)

Expand Down