Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input verify code #85

Open
yyri opened this issue Sep 1, 2018 · 4 comments
Open

Input verify code #85

yyri opened this issue Sep 1, 2018 · 4 comments

Comments

@yyri
Copy link

yyri commented Sep 1, 2018

登录时提示 Input verify code,怎么处理呢

@yyri
Copy link
Author

yyri commented Sep 1, 2018

而且临时文件用看图软件也无法解析 AppData\Local\Temp\tmpgw88onur.png

@lightlib
Copy link

作者用的tmpefile,导致进程独占,所有你无法打开,你可以自己手动改下代码,比如下面
` # captcha_file = tempfile.NamedTemporaryFile(suffix=".png")
# data = requests.get(image_url).content
#
# captcha_file.write(data)
# captcha_file.flush()
#
# filename = captcha_file.name
# print(filename)

filename = 'img009.png'
data = requests.get(image_url).content
with open(filename,'wb+') as f:
	f.write(data)`

@banrieen
Copy link

@yyri Input verify code > 问题怎么处理的?

@zxzxde
Copy link

zxzxde commented Jun 20, 2019

显示出来了图片,但是在ide里输入里面的中文验证 还是会一直报Verification Code>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants