使用2captcha過reCAPTCHA V2驗證

滲透逆向 · 09-25 · 165 人浏览

API_KEY為2captcha的API


import requests
creat_task_url = 'https://2captcha.com/in.php?key=API_KEY&method=userrecaptcha&googlekey=WEBSITE_KEY&pageurl=URL'

id = ''

res = requests.get(creat_task_url)

if res.status_code == 200:
    id = str(re.findall('\|(\d*)', res.text)[0])
    time.sleep(20)
    code_res = requests.get(f'https://2captcha.com/res.php?key=API_KEY&action=get&id={id}')
    print(code_res.text)
本站立足于美利堅合衆國,請讀者自覺遵守當地法律!如有違規,本站不承擔任何法律責任! This site is based in the United States of America, readers are requested to abide by local laws! If there are any violations, this site does not bear any legal responsibility! Theme Jasmine by Kent Liao