Fix
This commit is contained in:
parent
6fee62a491
commit
d14a81acff
@ -127,8 +127,10 @@ def bypass_captcha(session, response, url, cookies):
|
|||||||
config = json.load(open('yotter-config.json'))
|
config = json.load(open('yotter-config.json'))
|
||||||
# Generate anti-captcha request payload
|
# Generate anti-captcha request payload
|
||||||
body = {'clientKey': config['anticaptcha']}
|
body = {'clientKey': config['anticaptcha']}
|
||||||
task = {'type': "NoCaptchaTaskProxyless", 'websiteURL': url,
|
task = {'type': "NoCaptchaTaskProxyless",
|
||||||
'websiteKey': site_key, "recaptchaDataSValue": s_value}
|
'websiteURL': url,
|
||||||
|
'websiteKey': site_key,
|
||||||
|
'recaptchaDataSValue': s_value}
|
||||||
body['task'] = task
|
body['task'] = task
|
||||||
|
|
||||||
# Create the task.
|
# Create the task.
|
||||||
|
Reference in New Issue
Block a user