How to identify the 32 bit data-sitekey of ReCaptcha V2 to obtain a valid response programmatically using Selenium and Python Requests?
问题 Pretty much new with captcha and Python requests. The captcha documentation says to copy the value of data-sitekey parameter. Here was my attempt, using Selenium to open the url and using Python requests to get a response. mainurl = 'https://imagetyperz.xyz/automation/recaptcha-v2.html' driver.get(mainurl) data_sitekey_class = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CLASS_NAME, "g-recaptcha"))).get_attribute("data-sitekey") print(data_sitekey_class) src_css_selector =