ReaJason / xhs

基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/
MIT License
920 stars 273 forks source link

当接口响应码为 461 或 471,如果响应头中出现 verify 字段,就是出现了验证码,需要验证才能请求到数据 #93

Open ReaJason opened 3 months ago

ReaJason commented 3 months ago

暂时没有解决办法

hjhjhghghg commented 2 months ago

我查了一下是461是小红书针对腾讯云的ip的spam响应,加代理ip好像能好点

ReaJason commented 2 months ago

有可能,不过我本地也老是 461,绝绝子

CCCpan commented 1 month ago

+1 现在有解决了吗 raise NeedVerifyError( xhs.exception.NeedVerifyError: 出现验证码,请求失败,Verifytype: 102,Verifyuuid: ab72123e-823e-4800-80cf-26875547029a

saifeiLee commented 1 month ago

我发现/api/sns/web/v1/user_posted接口很容易触发验证码。 蹲个解决方案。。。

xpgog commented 1 month ago

是验证码。就是那个横着滑动的。edith.xiaohongshu.com/api/redcaptcha/v2/captcha/register 申请2张图,提交一个角度和触摸轨迹,就能继续了。验证码挺简单的,github上有开源的代码。

saifeiLee commented 1 week ago

是验证码。就是那个横着滑动的。edith.xiaohongshu.com/api/redcaptcha/v2/captcha/register 申请2张图,提交一个角度和触摸轨迹,就能继续了。验证码挺简单的,github上有开源的代码。

你好啊,方便留个联系方式或者邮箱吗?想请教一下~

fugenb commented 2 days ago

http://www.mfbz.cn/a/674230.html 这篇文章也是关于旋转验证码的,可以参考一下