Skip to content
Advertisement

Tag: javascript

Submitting reCAPTCHA v2 with selenium and python – no form submit button

So I recently signed up with anti-captcha and have been testing with the https://github.com/ad-m/python-anticaptcha/blob/master/examples/recaptcha_selenium.py script. I cannot get past a reCAPTCHA that has no submit button (hidden or visible) nor a clear way to submit for verification. I’ve used the anti-captcha firefox plugin, so I know it can be passed. But I am stuck at the point of doing this

Django request.FILES gets name, filename but not file (blob)

I’m trying to send an audiofile via a POST request to the server (aws, ec2) and I’m using Django, but my request.FILES doesn’t receive the blob file, but it DOES receive the key and the filename. Everything worked fine when I ran this on localhost. How can I get the file? I’m enabling my website on chrome://flags/#unsafely-treat-insecure-origin-as-secure, so that I

Advertisement