title: Handle Google Recaptcha with python requests
body: <p>I'm creating a web bot using the requests module. I need to pass through a form that has a recaptcha in it. I have a local website that can generate a g-captcha-response for this recaptcha. I wanted to know if the g-captcha-response was the only post parameter that was necessary in order to get through the recaptcha. If not, what other information do I need to post?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>CaptchaKey = # g-captcha-response from my local website
  
  Session = requests.Session()
  FormData = {
      'g-captcha-response': CaptchaKey
  }
  Session.post(SubmitURL, data=FormData)
  </code></pre>