Skip to content

Commit

Permalink
- Added documentation for the cybersiara method to solver.py
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim S <[email protected]>
  • Loading branch information
poplers24 committed Aug 29, 2024
1 parent 8a79a4d commit c171b17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions twocaptcha/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,19 @@ def cutcaptcha(self, misery_key, apikey, url, **kwargs):
return result

def cybersiara(self, master_url_id, pageurl, userAgent, **kwargs):
'''Wrapper for solving CyberSiARA captcha.
Parameters
__________
master_url_id : str
TThe value of the MasterUrlId parameter from the request to API/CyberSiara/GetCyberSiara.
pageurl : str
Full URL of the page with captcha.
userAgent : str
User-Agent of your browser.
proxy : dict, optional
{'type': 'HTTPS', 'uri': 'login:password@IP_address:PORT'}.
'''
result = self.solve(method='cybersiara',
master_url_id=master_url_id,
pageurl=pageurl,
Expand Down

0 comments on commit c171b17

Please sign in to comment.