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

请问在阿里云ECS上出现需要输入验证码的时候该怎么解决? #146

Closed
hhlisme opened this issue Sep 14, 2017 · 5 comments
Closed

Comments

@hhlisme
Copy link

hhlisme commented Sep 14, 2017

在在阿里云ECS上抓了几个公众号的文章之后就被要求需要please input code: 但我在ECS上找不到验证码放在哪个目录下(不在代码目录),请问该如何操作?或者有什么更好的避免二维码的方法么?

@chyroc
Copy link
Owner

chyroc commented Sep 14, 2017

服务器上需要的是自动输入

打码平台 or 机器学习

@hhlisme
Copy link
Author

hhlisme commented Sep 15, 2017

能否找到那个二维码图片出现的位置然后手动输入呢?

@chyroc
Copy link
Owner

chyroc commented Sep 15, 2017

这是服务器呀,难道你要下载这个图片,然后打开看?不符合实际情况

@hhlisme
Copy link
Author

hhlisme commented Sep 15, 2017

因为我想知道图片保存在什么位置然后写个机器学习算法去判断,不然没图片找不到不好写地址,对吧?

@chyroc
Copy link
Owner

chyroc commented Sep 15, 2017

参见这个例子:https://github.com/Chyroc/WechatSogou/blob/master/test/rk.py#L42-L61

img参数就是图片的二进制数据,你可以自己写一个函数,把图片保存起来

@chyroc chyroc closed this as completed Sep 15, 2017
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

2 participants