Open Panda88CO opened 3 years ago
captcha_answer = resp.text while 'CAPCHA_NOT_READY' in captcha_answer: sleep(5) captcha_answer = requests.get(answer_url, params=data) print captcha_answer.text captcha_answer = captcha_answer.text.split('|')[1]
If first captcha_answer is ready it nologer has .text property in the split statement
If first captcha_answer is ready it nologer has .text property in the split statement