-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Linux 下 Lagrange 无法发送 https://multimedia.nt.qq.com.cn 域下的图片 #467
Comments
那我判断下如果遇到这个域名就改成 http 协议应该就行 缓存的话这俩链接 fileid 也不一样,试了下只有中间2节是必须,得额外处理下 |
好像也不太对,按前三节做id好了 |
或者你能不能试试同一张图分别发给私聊和群聊看看是什么样的,以及换一个人发,都试一下,我看看哪些位是会变得 貌似前后两个有的位无所谓有的又有所谓 |
群聊
私聊
换一个人发的话测不了,没别的bot,本地用插件实现的复制链接得到的结果还是 https://gchat.qpic.cn 域的 |
其他人发的,bot收到就不是这个域名了么 |
我手上倒是还有个别人的bot
两个接收方得到的链接是一样的 |
不知道什么时候开始又变成 https 了 另外缓存也又双叒寄了 同一张图发三次
过了五分钟又发三次
|
试试 |
还是没触发缓存
|
😭不该啊 要不你在这文件的61和62行中间加个 console.log(img, key); 看看输出 |
|
那看起来应该没问题啊…… |
是 |
那是不是没写缓存..? 截图我按时间排序了 |
配置里 不然就得看这里有没有走到 cq-picsearcher-bot/src/index.mjs Lines 676 to 679 in 6b6773f
|
success 为 false |
那大概是是相似度之类的原因没缓存吧…… 你找个成功搜图的试下有没有缓存 |
哦可能是nhentai没搜到也判失败了 |
是这样 |
可以做个特殊处理转成base64吗,合并转发因为第一条就是收到的原图导致一直发不出去
LagrangeDev/Lagrange.Core#315 (comment)
另外缓存又失效了,测试的时候同一张图一直没触发缓存
The text was updated successfully, but these errors were encountered: