title: Solve Captcha with Python
body: <p>I am using a Anti-Captcha Service to try bypassing the ReCAPTCHA from Google.</p>
  
  <p>The result of this code is:</p>
  
  <pre><code>{'errorId': 0, 'status': 'ready', 'solution': {'gRecaptchaResponse': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'cost': '0.00...', 'ip': '127.0.0.1', 'createTime': 9999999999, 'endTime': 9999999999, 'solveCount': 0, 'taskId': 11111111}
  </code></pre>
  
  <p>With the <code>gRecaptchaResponse</code> Key I can somehow bypass the Captcha, that's what I understood from the API Docs.</p>
  
  <p>I tried a Network Analysis on <a href="https://www.google.com/recaptcha/api2/demo" rel="nofollow noreferrer">https://www.google.com/recaptcha/api2/demo</a> but I don't get a GET-Request-Method with <code>gRecaptchaResponse</code> attribute. So I have no idea how to get this working because I don't know where or how exactly I can use the <code>gRecaptchaResponse</code> key I got from the Captcha ByPass Service.</p>
  
  <p>But some Off Topic: How is it possible that this could work? I mean Google normally gives every time (F5) you try a Captcha a new Captcha token which identifies you. So for me it would be just logical to refer one token to one <code>gRecaptchaResponse</code> key. So if somebody else gets the solution for you, he can give you his <code>gRecaptchaResponse</code> result key but how is it possible that this key works for every token?</p>
  
  <p>Thanks already and best regards!</p>
  
  <pre class="lang-py prettyprint-override"><code>def solveCaptcha():
      ANTICAPTCHA_KEY = "11133331111333777"
      result = NoCaptchaTaskProxyless.NoCaptchaTaskProxyless(
          anticaptcha_key=ANTICAPTCHA_KEY
      ).captcha_handler(
          websiteURL="https://www.google.com/recaptcha/api2/demo",
          websiteKey="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
      )
      print(result)
  solveCaptcha()
  </code></pre>