@@ -1013,7 +1013,6 @@ async def altcha(self, pageurl, **kwargs):
10131013 At least one of the parameters 'challenge_url', 'challenge_json' must be passed.
10141014 proxy : dict, optional
10151015 {'type': 'HTTPS', 'uri': 'login:password@IP_address:PORT'}.
1016-
10171016 '''
10181017
10191018 result = self .solve (pageurl = pageurl ,
@@ -1022,6 +1021,30 @@ async def altcha(self, pageurl, **kwargs):
10221021
10231022 return await result
10241023
1024+ async def binance (self , pageurl , sitekey , validate_id , ** kwargs ):
1025+ '''Wrapper for solving Binance captcha.
1026+
1027+ Parameters
1028+ __________
1029+ pageurl : str
1030+ Full URL of the page where you solve the captcha.
1031+ sitekey : str
1032+ Value of 'bizId', 'bizType', or 'bizCode' from page requests.
1033+ validate_id : str
1034+ Dynamic value of 'validateId', 'securityId', or 'securityCheckResponseValidateId'.
1035+ useragent : str, optional
1036+ Browser User-Agent. We recommend sending a valid Windows browser string.
1037+ proxy : dict, optional
1038+ {'type': 'HTTPS', 'uri': 'login:password@IP_address:PORT'}.
1039+ '''
1040+ result = self .solve (method = "binance" ,
1041+ pageurl = pageurl ,
1042+ sitekey = sitekey ,
1043+ validate_id = validate_id ,
1044+ ** kwargs )
1045+
1046+ return await result
1047+
10251048 async def solve (self , timeout = 0 , polling_interval = 0 , ** kwargs ):
10261049 '''Sends captcha, receives result.
10271050
0 commit comments