awesome-python-login-model icon indicating copy to clipboard operation
awesome-python-login-model copied to clipboard

BILIBILI登录存在拖动验证码不重合问题

Open EncodingDavid opened this issue 5 years ago • 9 comments

当提交完账号和密码之后,拖动图像完成验证会出现与目标区域不重合的现象 gif

EncodingDavid avatar Mar 21 '19 07:03 EncodingDavid

是不是一直

{'x': 636, 'y': 223} {'height': 118, 'width': 262}
验证码位置 223 341 636 898

OMGZui avatar Mar 22 '19 02:03 OMGZui

建议多试两次,如果不行可以尝试修改坐标

Kr1s77 avatar Mar 22 '19 14:03 Kr1s77

对,没错

omgzui [email protected] 于2019年3月22日周五 上午10:37写道:

是不是一直

{'x': 636, 'y': 223} {'height': 118, 'width': 262}

验证码位置 223 341 636 898

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CriseLYJ/awesome-python-login-model/issues/36#issuecomment-475473575, or mute the thread https://github.com/notifications/unsubscribe-auth/AmID0JJoRDO0WcHNT8UdF5mLFajWgD3kks5vZEHcgaJpZM4cA4P9 .

--

Sincerely yours,   David Huang

EncodingDavid avatar Mar 23 '19 04:03 EncodingDavid

不会修改 啊 啊 啊 没学过这部分

梁英健 [email protected] 于2019年3月22日周五 下午10:51写道:

建议多试两次,如果不行可以尝试修改坐标

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CriseLYJ/awesome-python-login-model/issues/36#issuecomment-475650920, or mute the thread https://github.com/notifications/unsubscribe-auth/AmID0GHHGcv5rtiTjEwl_kyVwg9C1XlMks5vZO4BgaJpZM4cA4P9 .

--

Sincerely yours,   David Huang

EncodingDavid avatar Mar 23 '19 04:03 EncodingDavid

我这的做法是在截取验证码图片的时候让(top, bottom, left, right)都乘以了2 这样截取的图片是对的。 然后在获取滑动轨迹的函数里让缺口的偏移量再除以2取绝对值,不知道是不是电脑的原因(Mac的显示屏是Retina屏)。

JinxYuan avatar Mar 25 '19 08:03 JinxYuan

应该是mac电脑的问题吧

JinxYuan [email protected] 于2019年3月25日周一 下午4:28写道:

我这的做法是再截取验证码图片的时候让(top, bottom, left, right)都乘以了2 这样截取的图片是对的。 然后在获取滑动轨迹的函数里让缺口的偏移量再除以2取绝对值,不知道是不是电脑的原因(Mac的显示屏是Retina屏)。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CriseLYJ/awesome-python-login-model/issues/36#issuecomment-476098692, or mute the thread https://github.com/notifications/unsubscribe-auth/AmID0FyYrYGH3HPWQE2HUYWwC8bACNtVks5vaIi6gaJpZM4cA4P9 .

--

Sincerely yours,   David Huang

EncodingDavid avatar Mar 25 '19 08:03 EncodingDavid

bilibili的登陆是不是失效了,后台的滑块都是缺块的,没有原图,不过在network里面可以看到从极验传过来的图片,都是被切割成52块的,这个用什么方法找出来呢

adadpk avatar May 04 '19 14:05 adadpk

bilibili的登陆是不是失效了,后台的滑块都是缺块的,没有原图,不过在network里面可以看到从极验传过来的图片,都是被切割成52块的,这个用什么方法找出来呢

你开devtool跟下,有块Js代码是计算几个数字,用canvas 把分块重新拼合的

owen800q avatar Jun 01 '19 13:06 owen800q

bilibili 可能会不重合 这个很正常的啦,记得之前已经改动了速率,看看还有没有其他办法让成功率更高!

Kr1s77 avatar Aug 16 '19 07:08 Kr1s77