MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Weibo Helper 一个简单的将微博转发到QQ的插件

    插件发布
    微博 weibo
    36
    140
    20287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cssxsh
      cssxsh @蔚蓝621 last edited by

      @蔚蓝621 在 Weibo Helper 一个简单的将微博转发到QQ的插件 中说:

      过滤就一个公开,弄了开始之后就没动过

      可能登录掉了
      你重新登录试试
      顺便检查一下订阅是不是掉了

      蔚 1 Reply Last reply Reply Quote 0
      • 蔚
        蔚蓝621 @cssxsh last edited by

        @cssxsh 重启mcl一般都会提示我登录的,但最近没有,我都是自己wlogin登录的,然后就是@的名字不对,是@周聂,订阅能查到没啥问题

        cssxsh 1 Reply Last reply Reply Quote 0
        • cssxsh
          cssxsh @蔚蓝621 last edited by cssxsh

          @蔚蓝621
          看看 data/xyz.cssxsh.mirai.plugin.weibo-helper/WeiboTaskData.yml
          里 last 这个属性有没有跟上最近的内容

          文件夹里面还有一些数字开头的 json 文件
          里面是接收过的内容

          1 Reply Last reply Reply Quote 0
          • 蔚
            蔚蓝621 last edited by

            WeiboTaskData.yml正常,json文件里面的内容也是最新的..

            cssxsh 1 Reply Last reply Reply Quote 0
            • T
              tukongdao last edited by

              @cssxsh 大佬,真的希望您能加个选项,让 “时间”“MID”“评论数点赞数转发数”这三个项可以不在转发里显示,加上这三项转发的消息有点太长了,而且其实是没什么必要知道的信息。我知道可以以合并转发的消息显示,但如果多了一层要点的地方,就显得很麻烦。拜托大佬务必考虑,谢谢~!!!QQ截图20221020111051.png

              1 Reply Last reply Reply Quote 0
              • cssxsh
                cssxsh @蔚蓝621 last edited by

                @蔚蓝621

                那你应该检查一下日志,是不是发出去了,但是群聊收不到之类的

                顺便,检查一下是不是最新版插件

                蔚 1 Reply Last reply Reply Quote 0
                • 蔚
                  蔚蓝621 @cssxsh last edited by 蔚蓝621

                  @cssxsh 是的,越来越严重了麻了,前两天也发现了,后台是有信息的,如果是微博是一张图几句话是可以正常响应的,长字段基本无法响应。

                  这个好像是mirai的bug?我提交。

                  1 Reply Last reply Reply Quote 0
                  • T
                    TeamBreakerr last edited by

                    可不可以加一个总开关的功能?

                    1 Reply Last reply Reply Quote 0
                    • 7
                      762972763 last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 7
                        762972763 last edited by cssxsh

                        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)
                        

                        大佬这是怎么回事捏

                        cssxsh 1 Reply Last reply Reply Quote 1
                        • cssxsh
                          cssxsh @762972763 last edited by

                          @762972763
                          ?

                          1 Reply Last reply Reply Quote 0
                          • RainbowDash
                            RainbowDash last edited by

                            大佬 问一下,扫描二维码提示二维码过期怎么办,之前能登,今天cookie过期,想重新登录就不行了

                            cssxsh 1 Reply Last reply Reply Quote 0
                            • cssxsh
                              cssxsh @RainbowDash last edited by

                              @RainbowDash
                              再试一遍

                              1 Reply Last reply Reply Quote 0
                              • C
                                CarlosDJY last edited by CarlosDJY

                                @cssxsh 求助一下,昨天没问题,今天重启后在启动时发生报错如下,1.5.8和1.6.1版本都尝试过:image.png

                                cssxsh 1 Reply Last reply Reply Quote 0
                                • cssxsh
                                  cssxsh @CarlosDJY last edited by

                                  @CarlosDJY 在 Weibo Helper 一个简单的将微博转发到QQ的插件 中说:

                                  重启后在启动时发生报错如下,1.5.8和1.6.1版本都尝试过:

                                  是否改动了默认配置

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    CarlosDJY @cssxsh last edited by CarlosDJY

                                    @cssxsh 应该只更改过这个文件 目前文件内容如图
                                    4ea7d834-a92e-4afc-94e5-3982762c5d62-image.png

                                    cssxsh 1 Reply Last reply Reply Quote 0
                                    • cssxsh
                                      cssxsh @CarlosDJY last edited by

                                      @CarlosDJY

                                      显示图片数设置

                                      改错了

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        TeamBreakerr last edited by

                                        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)
                                        请问这种错误是什么原因?重新登录下会恢复正常,但是坚持不了几天。

                                        cssxsh 1 Reply Last reply Reply Quote 0
                                        • cssxsh
                                          cssxsh @TeamBreakerr last edited by

                                          @TeamBreakerr

                                          cookie 过期

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            TeamBreakerr @cssxsh last edited by

                                            @cssxsh 所以这种情况是正常的么?就是要一两天重新登陆下。

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 7 / 7
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact