Skip to content

Commit c171b17

Browse files
committed
- Added documentation for the cybersiara method to solver.py
Signed-off-by: Maxim S <[email protected]>
1 parent 8a79a4d commit c171b17

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

twocaptcha/solver.py

+12
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,19 @@ def cutcaptcha(self, misery_key, apikey, url, **kwargs):
811811
return result
812812

813813
def cybersiara(self, master_url_id, pageurl, userAgent, **kwargs):
814+
'''Wrapper for solving CyberSiARA captcha.
814815
816+
Parameters
817+
__________
818+
master_url_id : str
819+
TThe value of the MasterUrlId parameter from the request to API/CyberSiara/GetCyberSiara.
820+
pageurl : str
821+
Full URL of the page with captcha.
822+
userAgent : str
823+
User-Agent of your browser.
824+
proxy : dict, optional
825+
{'type': 'HTTPS', 'uri': 'login:password@IP_address:PORT'}.
826+
'''
815827
result = self.solve(method='cybersiara',
816828
master_url_id=master_url_id,
817829
pageurl=pageurl,

0 commit comments

Comments
 (0)