code: def require_auth_captcha(self, response, query_params,
                               login_form_data, http_session):
          
          logger.info('Captcha is needed. Query params: %s', query_params)
          form_text = response.text
  
          action_url = parse_form_action_url(form_text)
          logger.debug('form action url: %s', action_url)
          if not action_url:
              raise VkAuthError('Cannot find form action url')
  
          captcha_sid, captcha_url = parse_captcha_html(
              html=response.text, response_url=response.url)
          logger.info('Captcha url %s', captcha_url)
  
          login_form_data['captcha_sid'] = captcha_sid
          login_form_data['captcha_key'] = self.get_captcha_key(captcha_url)
  
          response = http_session.post(action_url, login_form_data)
          return response
docs: Resolve auth captcha case
  
          :param response: http response
          :param query_params: dict: response query params, for example:
          {'s': '0', 'email': 'my@email', 'dif': '1', 'role': 'fast', 'sid': '1'}
  
          :param login_form_data: dict
          :param http_session: requests.Session
          :return: :raise VkAuthError: