Weibo Helper 一个简单的将微博转发到QQ的插件
-
-
@cssxsh 重启mcl一般都会提示我登录的,但最近没有,我都是自己wlogin登录的,然后就是@的名字不对,是@周聂,订阅能查到没啥问题
-
@蔚蓝621
看看data/xyz.cssxsh.mirai.plugin.weibo-helper/WeiboTaskData.yml
里 last 这个属性有没有跟上最近的内容文件夹里面还有一些数字开头的 json 文件
里面是接收过的内容 -
WeiboTaskData.yml正常,json文件里面的内容也是最新的..
-
@cssxsh 大佬,真的希望您能加个选项,让 “时间”“MID”“评论数点赞数转发数”这三个项可以不在转发里显示,加上这三项转发的消息有点太长了,而且其实是没什么必要知道的信息。我知道可以以合并转发的消息显示,但如果多了一层要点的地方,就显得很麻烦。拜托大佬务必考虑,谢谢~!!!
-
-
@cssxsh 是的,越来越严重了麻了,前两天也发现了,后台是有信息的,如果是微博是一张图几句话是可以正常响应的,长字段基本无法响应。
这个好像是mirai的bug?我提交。
-
可不可以加一个总开关的功能?
-
This post is deleted! -
2023-01-29 04:56:57 W/weibo-helper: 登陆失败, SRF Cookie 为空, 请尝试使用 /wlogin 指令登录 2023-01-29 04:56:58 I/weibo-helper: 模拟游客成功,置信度100 2023-01-29 04:56:58 I/weibo-helper: 微博图片清理开始 2023-01-29 04:56:58 W/weibo-helper: WEIBO登陆状态失效,需要重新登陆 java.lang.IllegalStateException: CROSS DOMAIN 跳转异常 at weibo-helper-1.5.9-M1.mirai2.jar//xyz.cssxsh.weibo.api.LoginKt.restore(Login.kt:136) at weibo-helper-1.5.9-M1.mirai2.jar//xyz.cssxsh.weibo.api.LoginKt$restore$1.invokeSuspend(Login.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at weibo-helper-1.5.9-M1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2023-01-29 04:56:59 E/weibo-helper: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.weibo-helper of weibo-helper java.util.NoSuchElementException: Not Found LoginContact 12345 at weibo-helper-1.5.9-M1.mirai2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$LoginContact$2.invoke(WeiboUtils.kt:146) at weibo-helper-1.5.9-M1.mirai2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$LoginContact$2.invoke(WeiboUtils.kt:141) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at weibo-helper-1.5.9-M1.mirai2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt.getLoginContact(WeiboUtils.kt:141) at weibo-helper-1.5.9-M1.mirai2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$sendLoginMessage$1.invokeSuspend(WeiboUtils.kt:160) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
大佬这是怎么回事捏
-
-
大佬 问一下,扫描二维码提示二维码过期怎么办,之前能登,今天cookie过期,想重新登录就不行了
-
@RainbowDash
再试一遍 -
@cssxsh 求助一下,昨天没问题,今天重启后在启动时发生报错如下,1.5.8和1.6.1版本都尝试过:
-
-
@cssxsh 应该只更改过这个文件 目前文件内容如图
-
-
io.ktor.client.plugins.ClientRequestException: Client request(GET https://weibo.com/ajax/feed/groupstimeline?list_id=4924304942694829&refresh=1&count=100) invalid: 400 . Text: "<h2>400 Bad Request</h2>"
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invokeSuspend(DefaultResponseValidation.kt:54)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invoke(DefaultResponseValidation.kt)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invoke(DefaultResponseValidation.kt)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator.validateResponse(HttpCallValidator.kt:51)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator.access$validateResponse(HttpCallValidator.kt:43)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion$install$3.invokeSuspend(HttpCallValidator.kt:152)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
请问这种错误是什么原因?重新登录下会恢复正常,但是坚持不了几天。 -
cookie 过期
-
@cssxsh 所以这种情况是正常的么?就是要一两天重新登陆下。