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.
    • A
      aice @cssxsh last edited by cssxsh

      @cssxsh

      2022-06-15 20:05:22 V/Bot.3057694544: Group(939858688) <- @一街飛鳥推-飞禽走兽#6607671219\n时间: 2022-06-15T19:29:39+08:00\n链接: https://weibo.com/6607671219/LxRwRuSKz\n💬: 0 🔁: 8 👍🏻: 16\n2022.06.15 20:12\n\n第四个电话\n\n#斋藤飞鸟[超话]##asuka_talk# [一街飛鳥推-飞禽走兽的微博视频]<39>(https://video.weibo.com/show?fid=1034:4780705830600783) ​​​\n[mirai:image:{D2431F90-9445-4AE3-A325-B8B879A9FAC4}.jpg]
      2022-06-15 20:05:22 W/weibo-helper: Group(939858688) 无法发送文件
      java.io.FileNotFoundException: Invalid file path
      	at java.base/java.io.FileOutputStream.<init>(Unknown Source)
      	at kotlin.io.FilesKt__FileReadWriteKt.appendBytes(FileReadWrite.kt:115)
      	at weibo-helper-1.5.1.mirai.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$getVideo$2.invokeSuspend$lambda-2$appendBytes(WeiboUtils.kt:296)
      	at weibo-helper-1.5.1.mirai.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$getVideo$2.access$invokeSuspend$lambda-2$appendBytes(WeiboUtils.kt)
      	at weibo-helper-1.5.1.mirai.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$getVideo$2$1$1.emit(WeiboUtils.kt:296)
      	at weibo-helper-1.5.1.mirai.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$getVideo$2$1$1.emit(WeiboUtils.kt:296)
      	at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)
      	at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)
      	at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:87)
      	at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)
      	at weibo-helper-1.5.1.mirai.jar//xyz.cssxsh.weibo.LoadKt$download$6.invokeSuspend(Load.kt:96)
      	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 io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
      	at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
      	at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
      	at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
      	at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
      	at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
      	at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
      	at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
      	at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
      	at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
      	at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
      	at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
      	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:749)
      	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 @aice last edited by cssxsh

        @aice
        视频标题 里掺了换行符,导致保存文件失败,
        下个版本修复问题

        1 Reply Last reply Reply Quote 0
        • Referenced by  cssxsh cssxsh 
        • J
          JustinHuangber last edited by

          有没有办法只发送原创微博

          J 1 Reply Last reply Reply Quote 0
          • J
            JustinHuangber @JustinHuangber last edited by

            @JustinHuangber 过滤转发的微博

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

              @aice
              @JustinHuangber

              https://github.com/cssxsh/weibo-helper/releases/tag/v1.5.2

              WeiboHelperSettings 新增 original 配置项

              1 Reply Last reply Reply Quote 1
              • S
                szdguai last edited by

                大佬的插件很好用。想请问下能不能在配置中隐藏微博的id后缀,转评赞的显示,最好能缩短时间的显示就更好了。
                屏幕截图 2022-07-02 151901.png

                目前没在配置里找到隐藏转评赞显示的办法,因为是在群聊里用的,转的微播信息看起来太花,可能会让其他群员观感不好。想问下大佬有没有办法隐藏我刚刚说的那些东西,谢谢

                1 Reply Last reply Reply Quote 0
                • N
                  NiGuangOwO last edited by NiGuangOwO

                  大佬前段时间插件还能用,这两天突然开始报错了

                  2022-07-05 18:52:08 W/weibo-helper: Linked class io.ktor.client.engine.okhttp.OkHttp in onebot-mirai-0.3.4-all.jar but plugin not depend on it.
                  2022-07-05 18:52:08 W/weibo-helper: Class loading logic may change in feature.
                  2022-07-05 18:52:08 E/weibo-helper: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.weibo-helper of weibo-helper
                  java.lang.ClassCastException: class io.ktor.client.engine.okhttp.OkHttp cannot be cast to class io.ktor.client.engine.HttpClientEngineFactory (io.ktor.client.engine.okhttp.OkHttp is in unnamed module of loader 'onebot-mirai-0.3.4-all.jar' @f77cd9; io.ktor.client.engine.HttpClientEngineFactory is in unnamed module of loader 'weibo-helper-1.5.2.jar[private]' @45d714)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.weibo.WeiboClient.<init>(WeiboClient.kt:48)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$client$2$1.<init>(WeiboUtils.kt:62)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$client$2.invoke(WeiboUtils.kt:62)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt$client$2.invoke(WeiboUtils.kt:61)
                          at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboUtilsKt.getClient(WeiboUtils.kt:61)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboHelperPlugin$onEnable$2.invokeSuspend(WeiboHelperPlugin.kt:37)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboHelperPlugin$onEnable$2.invoke(WeiboHelperPlugin.kt)
                          at weibo-helper-1.5.2.jar//xyz.cssxsh.mirai.weibo.WeiboHelperPlugin$onEnable$2.invoke(WeiboHelperPlugin.kt)
                          at net.mamoe.mirai.event.EventChannel$subscribeOnce$1.invokeSuspend(EventChannel.kt:542)
                          at net.mamoe.mirai.event.EventChannel$subscribeOnce$1.invoke(EventChannel.kt)
                          at net.mamoe.mirai.event.EventChannel$subscribeOnce$1.invoke(EventChannel.kt)
                          at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58)
                          at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
                          at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
                          at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
                          at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166)
                          at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
                          at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58)
                          at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:119)
                          at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73)
                          at net.mamoe.mirai.internal.event.EventChannelImpl.callListeners(EventChannelImpl.kt:85)
                          at net.mamoe.mirai.internal.event.EventChannelImpl.broadcastEventImpl(EventChannelImpl.kt:75)
                          at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:98)
                          at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast(EventDispatcher.kt)
                          at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invokeSuspend(EventDispatcher.kt:112)
                          at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt)
                          at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt)
                          at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
                          at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
                          at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
                          at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
                          at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
                          at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcastAsync-kKe4JaQ(EventDispatcher.kt:109)
                          at net.mamoe.mirai.internal.network.components.EventDispatcher.broadcastAsync-kKe4JaQ$default(EventDispatcher.kt:34)
                          at net.mamoe.mirai.internal.QQAndroidBot$stateObserverChain$1.stateChanged0(QQAndroidBot.kt:105)
                          at net.mamoe.mirai.internal.network.handler.state.StateChangedObserver.stateChanged(StateChangedObserver.kt:93)
                          at net.mamoe.mirai.internal.network.handler.state.CombinedStateObserver.stateChanged(CombinedStateObserver.kt:31)
                          at net.mamoe.mirai.internal.network.handler.state.SafeStateObserver.stateChanged(SafeStateObserver.kt:55)
                          at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:305)
                          at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$StateLoading.resumeConnection0(NettyNetworkHandler.kt:425)
                          at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$StateLoading$resumeConnection0$1.invokeSuspend(NettyNetworkHandler.kt)
                          at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                          at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                          at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
                          at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
                          at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
                          at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
                          at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
                          at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
                          at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:245)
                          at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464)
                          at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168)
                          at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167)
                          at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52)
                          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                          at java.base/java.lang.reflect.Method.invoke(Unknown Source)
                          at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
                          at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
                          at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
                          at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
                          at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
                          at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
                          at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
                          at org.itxtech.mcl.Loader.start(Loader.java:189)
                          at org.itxtech.mcl.Loader.main(Loader.java:79)
                  
                  cssxsh 2 Replies Last reply Reply Quote 0
                  • cssxsh
                    cssxsh @NiGuangOwO last edited by

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

                    onebot-mirai-0.3.4-all.jar

                    和 onebot-mirai-0.3.4-all.jar 冲突

                    等更新

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

                      @NiGuangOwO
                      https://github.com/cssxsh/weibo-helper/releases/tag/v1.5.3

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

                        @cssxsh 辛苦了

                        1 Reply Last reply Reply Quote 0
                        • Q
                          qingfengxiu last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Q
                            qingfengxiu last edited by

                            004b3c80-9c18-4555-b4c2-ede8b1e6d234-image.png

                            为啥能解析但是群里没有推送,是掉了什么配置么

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

                              @qingfengxiu

                              repost 微博订阅器,最少转发数过滤器,只对列表订阅生效,默认16

                              1 Reply Last reply Reply Quote 0
                              • Q
                                qingfengxiu last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Q
                                  qingfengxiu last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • O
                                    Oxgene last edited by

                                    大佬你好,我是小白。请问一下,微博登录是正常的,但是使用wgroup指令订阅分组报错是什么原因
                                    QQ图片20220718135040.png

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

                                      @Oxgene
                                      你要订阅微博,但是又不提供订阅对象(群或者机器人好友),让机器人给你托梦吗

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

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          N70_ last edited by

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

                                          历史记录保留时间

                                          大佬您好,想请教下,如果不想让插件推送机器人关闭时错过的微博,是在配置文件的历史记录那一项修改为0嘛?

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

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

                                            推送机器人关闭时错过的微博,是在配置文件的历史记录那一项修改为0嘛?

                                            不是,目前还没有相关配置,
                                            如果你需要,可以到 github 开个 issue 作为开发备忘录

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