def METHOD_NAME(self, jobID):
    if not jobID:
        raise CaptchaBadJobID("CapSolver: Error bad job id to request task result.")
    def _checkRequest(response):
        self.checkErrorStatus(response, 'requestJob')
        try:
            if response.ok and response.json()['status'] == 'ready':
                return True
        except Exception:
            pass
        return None
    response = polling2.poll(
        lambda: self.session.post(
            f'{self.host}/getTaskResult',
            json={
                'clientKey': self.api_key,
                'taskId': jobID
            },
            timeout=30
        ),
        check_success=_checkRequest,
        step=5,
        timeout=180
    )
    if response:
        try:
            rPayload = response.json()['solution']
            if 'token' in rPayload:
                return rPayload['token']
            else:
                return rPayload['gRecaptchaResponse']
        except Exception:
            pass
    raise CaptchaTimeout(
        "CapSolver: Error failed to solve Captcha."
    )