Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/315.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 通过http post与重新验证码交互_Javascript_Python_Html_Captcha - Fatal编程技术网

Javascript 通过http post与重新验证码交互

Javascript 通过http post与重新验证码交互,javascript,python,html,captcha,Javascript,Python,Html,Captcha,这可能吗?如果您有任何意见,我将不胜感激 该网站有一个典型的表单库,但也有一个典型的catcha snippet from form <input type='password' name='password2' autocomplete='off' id='password2' maxlength='20' placeholder="Confirm Password" class='account-form__input-text account-form__input-text-

这可能吗?如果您有任何意见,我将不胜感激

该网站有一个典型的表单库,但也有一个典型的catcha

snippet from form

  <input type='password' name='password2' autocomplete='off' id='password2' maxlength='20' placeholder="Confirm Password" class='account-form__input-text account-form__input-text--password' title="Confirm Password" value='testpass' pattern='.{5,20}' required />
            <span class='account-form__hint account-form__hint--password2' data-content="Please confirm the password you entered above">?</span>
        </div>
        <label class='account-form__news-label' for='news-updates'><input class='account-form__check' type='checkbox' name='agree_email' id='news-updates' checked />Please send me News and Updates</label>
                        <div class='account-form__captcha' id='g-recaptcha' data-theme='dark' data-error="Please complete the reCAPTCHA box."></div>



    <script>
        var myCap, onloadCallback = function() {
            myCap = grecaptcha.render('g-recaptcha', {
                'sitekey': '6LccFA0TAAAAAHEwUJx_c1TfTBWMTAOIphwTtd1b',
                'expired-callback': resetCap,
                'theme': 'dark'
            });
        };
        function resetCap(){
            grecaptcha.reset();
        }
    </script>
表单中的代码片段
?
请给我发送新闻和更新
var myCap,onloadCallback=function(){
myCap=grecaptcha.render('g-recaptcha'{
“站点密钥”:“6LCCFA0TAAAAHAHEWUJX_C1TFTBWMTAIPHWTTD1B”,
“过期回调”:重置上限,
“主题”:“黑暗”
});
};
函数resetCap(){
grecaptcha.reset();
}
关于如何在python中实现并与此重新验证码交互,有什么想法吗