一个简单的每日新闻速报/动画速报 mirai-console 插件

Overview

Mirai News Reporter

一个简单的每日新闻速报/番剧速报 mirai-console 插件

项目地址:

https://github.com/LinHeLurking/mirai-news-reporter

功能

  1. 爬取知乎的一个每日新闻页面, 以图片形式分享. 向机器人说 "今日新闻", "今日速报" 即可触发.
  2. 爬取 B 站的今日番剧列表, 以图片形式分享. 用 "今日动画", "今日番剧" 触发.

为了避免打扰网友, 群聊使用白名单管理. 只有通过命令指定的群聊, 才会在群聊中触发本机器人. 具体命令可以通过 /help 获取.

目前排版还不是很好, 以后找机会继续优化.

效果展示:

今日番剧:

000000000-000000000-00F92DB7B9564739595DD98104249079

今日新闻:

000000000-000000000-97C34B229D32E4E897AE6F268A950E3B

Comments
  • 启动后报错直接关闭程序

    启动后报错直接关闭程序

    2021-09-28 09:34:28 I/main: Starting mirai-console... 2021-09-28 09:34:28 I/main: Backend: version 2.8.0-M1, built on 2021-09-22 17:49 :01. 2021-09-28 09:34:28 I/main: Frontend Terminal: version 2.7.1, provided by Mamoe Technologies 2021-09-28 09:34:28 I/main: Welcome to visit https://mirai.mamoe.net/ 2021-09-28 09:34:29 E/main: Failed to init MiraiConsole. net.mamoe.mirai.console.internal.util.ServiceLoadException: Could not load servi ce online.ruin_of_future.reporter.ReporterPlugin. at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadService (PluginServiceHelper.kt:60) at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadAllServ ices(PluginServiceHelper.kt:42) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl$ex tractPlugins$findAllInstances$2.invoke(BuiltInJvmPluginLoaderImpl.kt:76) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl$ex tractPlugins$findAllInstances$2.invoke(BuiltInJvmPluginLoaderImpl.kt:71) at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:21 0) at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Seq uences.kt:314) at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:3 03) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt :214) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt :214) at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Seq uences.kt:307) at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:3 03) at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt :786) at kotlin.sequences.SequencesKt___SequencesKt.toSet(_Sequences.kt:827) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.ex tractPlugins(BuiltInJvmPluginLoaderImpl.kt:95) at net.mamoe.mirai.console.plugin.loader.AbstractFilePluginLoader.listPl ugins(FilePluginLoader.kt:51) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.listPlugin s(JvmPluginLoader.kt) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSort AllPlugins(PluginManagerImpl.kt:186) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSort AllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:130) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPlug insUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:140) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doS tart$mirai_console(MiraiConsoleImplementationBridge.kt:157) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(Mi raiConsoleImplementation.kt:276) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDa emon(MiraiConsoleTerminalLoader.kt:152) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDa emon$default(MiraiConsoleTerminalLoader.kt:151) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(Mira iConsoleTerminalLoader.kt:47) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.itxtech.mcl.Utility.bootMirai(Utility.java:83) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:22 6) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:169 2) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j ava:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:4 12) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:357 8) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j ava:107) at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.j ava:155) at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdap ter.java:105) at org.mozilla.javascript.Context.call(Context.java:554) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java: 105) at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.j ava:126) at com.sun.proxy.$Proxy4.run(Unknown Source) at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106 ) at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176) at org.itxtech.mcl.Loader.tryCatching(Loader.java:145) at org.itxtech.mcl.Loader.start(Loader.java:176) at org.itxtech.mcl.Loader.main(Loader.java:68) Caused by: java.lang.ExceptionInInitializerError at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Unknown Source) at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadService (PluginServiceHelper.kt:51) ... 53 more Caused by: java.io.IOException: Problem reading font data. at java.desktop/java.awt.Font.createFont0(Unknown Source) at java.desktop/java.awt.Font.createFont(Unknown Source) at online.ruin_of_future.reporter.NewsCrawler.(NewsCrawler.kt:25) at online.ruin_of_future.reporter.ReporterPlugin.(App.kt:28) ... 56 more

    root@VM-0-15-debian:~#

    opened by Tamamoimoto 15
  • 格式解析错误

    格式解析错误

    2022-05-03 01:57:53 E/Reporter: kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 12471: Encountered an unknown key 'badge'.
    Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
    JSON input: .....i.com/bangumi/play/ss5978"},{"badge":"付费观看","cover":"http://.....
    kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 12471: Encountered an unknown key 'badge'.
    Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
    JSON input: .....i.com/bangumi/play/ss5978"},{"badge":"付费观看","cover":"http://.....
            at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
            at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32)
            at kotlinx.serialization.json.internal.JsonLexer.fail(JsonLexer.kt:493)
            at kotlinx.serialization.json.internal.JsonLexer.failOnUnknownKey(JsonLexer.kt:489)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.handleUnknown(StreamingJsonDecoder.kt:145)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeObjectIndex(StreamingJsonDecoder.kt:134)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeElementIndex(StreamingJsonDecoder.kt:75)
            at online.ruin_of_future.reporter.AnimeInfo$$serializer.deserialize(AnimeCrawler.kt:19)
            at online.ruin_of_future.reporter.AnimeInfo$$serializer.deserialize(AnimeCrawler.kt:19)
            at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
            at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
            at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80)
            at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
            at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
            at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
            at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
            at online.ruin_of_future.reporter.ResultByDate$$serializer.deserialize(AnimeCrawler.kt:53)
            at online.ruin_of_future.reporter.ResultByDate$$serializer.deserialize(AnimeCrawler.kt:53)
            at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
            at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
            at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80)
            at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
            at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
            at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
            at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
            at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
            at online.ruin_of_future.reporter.TimeLineInfo$$serializer.deserialize(AnimeCrawler.kt:66)
            at online.ruin_of_future.reporter.TimeLineInfo$$serializer.deserialize(AnimeCrawler.kt:66)
            at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
            at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
            at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100)
            at online.ruin_of_future.reporter.AnimeCrawler.getData(AnimeCrawler.kt:221)
            at online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler.kt:189)
            at online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.kt:208)
            at online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendAnimeToTarget$1.invokeSuspend(App.kt:124)
            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 kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
            at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
    

    运行环境是 mirai-2.10.1

    opened by whiterasbk 3
  • 推送番剧时报错

    推送番剧时报错

    2022-12-04 07:00:04 V/Bot: Group <- 早上好呀, 这是今天的 B 站番剧 \n( •̀ ω •́ )✧ 2022-12-04 07:00:05 E/Reporter: online.ruin_of_future.reporter.crawler.NoAnimeException: Not found info for date: 12-4 online.ruin_of_future.reporter.crawler.NoAnimeException: Not found info for date: 12-4 at news-reporter-1.4.0.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.animeByDate(AnimeCrawler.kt:207) at news-reporter-1.4.0.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.animeToday(AnimeCrawler.kt:217) at news-reporter-1.4.0.mirai.jar//online.ruin_of_future.reporter.tasks.MorningReportTask$run$1$1$2.invokeSuspend(MorningReportTask.kt:45) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) 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 news-reporter-1.4.0.mirai.jar//online.ruin_of_future.reporter.tasks.MorningReportTask.run(MorningReportTask.kt:19) at java.base/java.util.TimerThread.mainLoop(Timer.java:556) at java.base/java.util.TimerThread.run(Timer.java:506)

    opened by hejinding 2
  • 无法获取知乎新闻

    无法获取知乎新闻

    2022-03-17 19:03:00 E/Reporter: java.net.MalformedURLException: no protocol: java.net.MalformedURLException: no protocol: at java.base/java.net.URL.(URL.java:645) at java.base/java.net.URL.(URL.java:541) at java.base/java.net.URL.(URL.java:488) at online.ruin_of_future.reporter.NewsCrawler.newsToday(NewsCrawler.kt:93) at online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendNewsToTarget$1.invokeSuspend(App.kt:96) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) 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:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

    opened by Polaris-Koi 2
  • 番剧功能无法使用

    番剧功能无法使用

    你好,我的番剧功能是无法使用

    使用的服务器端系统 CentOS7 mirai 2.7.1 openjdk version "11.0.12" 2021-07-20 LTS

    2021-10-29 23:12:42 : Event: GroupMessagePostSendEvent(, message=出错啦, 等会再试试吧  ̄へ ̄, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@1deb6682) 2021-10-29 23:12:42 E/Reporter: kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 1524: Encountered an unknown key 'delay_id'. Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys. JSON input: .....f69c64487efad.png","delay":1,"delay_id":400,"delay_index":"第..... kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 1524: Encountered an unknown key 'delay_id'. Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys. JSON input: .....f69c64487efad.png","delay":1,"delay_id":400,"delay_index":"第..... at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32) at kotlinx.serialization.json.internal.JsonLexer.fail(JsonLexer.kt:479) at kotlinx.serialization.json.internal.JsonLexer.failOnUnknownKey(JsonLexer.kt:475) at kotlinx.serialization.json.internal.StreamingJsonDecoder.handleUnknown(StreamingJsonDecoder.kt:154) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeObjectIndex(StreamingJsonDecoder.kt:143) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeElementIndex(StreamingJsonDecoder.kt:75) at online.ruin_of_future.reporter.AnimeInfo$$serializer.deserialize(AnimeCrawler.kt:19) at online.ruin_of_future.reporter.AnimeInfo$$serializer.deserialize(AnimeCrawler.kt:19) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70) at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535) at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80) at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36) at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70) at online.ruin_of_future.reporter.ResultByDate$$serializer.deserialize(AnimeCrawler.kt:47) at online.ruin_of_future.reporter.ResultByDate$$serializer.deserialize(AnimeCrawler.kt:47) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70) at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535) at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80) at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36) at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70) at online.ruin_of_future.reporter.TimeLineInfo$$serializer.deserialize(AnimeCrawler.kt:60) at online.ruin_of_future.reporter.TimeLineInfo$$serializer.deserialize(AnimeCrawler.kt:60) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:95) at online.ruin_of_future.reporter.AnimeCrawler.getData(AnimeCrawler.kt:210) at online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler.kt:178) at online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.kt:197) at online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendAnimeToTarget$1.invokeSuspend(App.kt:113) 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:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

    opened by InzamZ 2
  • 无法搜索今日番剧

    无法搜索今日番剧

    MiraiConsole版本: v2.6.5 操作系统:Windows Server 2008 已加载插件: AntiLightappShare-0.13.6.mirai.jar bilibili-helper-1.1.6.mirai.jar mirai-console-mcmod-plugin-1.1.2.mirai.jar mirai-console-minecraft-plugin-1.1.5.mirai.jar mirai-native-2.0.0-beta.1.jar news-reporter-1.2.10.mirai.jar

    报错信息: 2021-10-08 00:45:56 I/Reporter: fsj 发起了动画请求... 2021-10-08 00:45:56 V/Bot.******: Group(******) <- 这是今天的 B 站番剧 ( •̀ ω •́ )✧ 2021-10-08 00:45:57 V/Bot.******: Group(******) <- 出错啦, 等会再试试吧  ̄へ ̄ 2021-10-08 00:45:57 E/Reporter: kotlinx.serialization.json.internal.JsonDecoding Exception: Unexpected JSON token at offset 75: Encountered an unknown key 'date_ ts'. Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys. JSON input: .....e":"10-2","date_ts":1633104000,"day_of_week":6,"is_today":0,... .. kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 75: Encountered an unknown key 'date_ts'. Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys. JSON input: .....e":"10-2","date_ts":1633104000,"day_of_week":6,"is_today":0,... .. at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingExce ption(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingExce ption(JsonExceptions.kt:32) at kotlinx.serialization.json.internal.JsonReader.fail(JsonReader.kt:338 ) at kotlinx.serialization.json.internal.JsonReader.fail$default(JsonReade r.kt:337) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeObject Index(StreamingJsonDecoder.kt:144) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeElemen tIndex(StreamingJsonDecoder.kt:87) at online.ruin_of_future.reporter.ResultByDate$$serializer.deserialize(A nimeCrawler.kt:47) at online.ruin_of_future.reporter.ResultByDate$$serializer.deserialize(A nimeCrawler.kt:47) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableV aluePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerial izableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValu e(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElem ent(AbstractDecoder.kt:70) at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSe rializableElement$default(Decoding.kt:536) at kotlinx.serialization.internal.ListLikeSerializer.readElement(Collect ionSerializers.kt:80) at kotlinx.serialization.internal.AbstractCollectionSerializer.readEleme nt$default(CollectionSerializers.kt:51) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(Col lectionSerializers.kt:36) at kotlinx.serialization.internal.AbstractCollectionSerializer.deseriali ze(CollectionSerializers.kt:43) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableV aluePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerial izableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValu e(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElem ent(AbstractDecoder.kt:70) at online.ruin_of_future.reporter.TimeLineInfo$$serializer.deserialize(A nimeCrawler.kt:60) at online.ruin_of_future.reporter.TimeLineInfo$$serializer.deserialize(A nimeCrawler.kt:60) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableV aluePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerial izableValue(StreamingJsonDecoder.kt:32) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:85) at online.ruin_of_future.reporter.AnimeCrawler.getData(AnimeCrawler.kt:2 10) at online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler. kt:178) at online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.k t:197) at online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendAnimeToTar get$1.invokeSuspend(App.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Contin uationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineS cheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(C oroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(Cor outineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Coroutine Scheduler.kt:665)

    opened by hhhfsj 2
  • 搜索番剧Not found info for date

    搜索番剧Not found info for date

    Snipaste_2021-09-06_07-32-21

    2021-09-06 07:29:56 I/Reporter: 赞美太阳 发起了动画请求... 2021-09-06 07:29:56 V/Bot.2845777804: Event: GroupMessagePreSendEvent(target=Group(), message=出错啦, 等会再试试吧  ̄へ ̄) 2021-09-06 07:29:56 V/Bot.2845777804: Group() <- 出错啦, 等会再试试吧  ̄へ ̄ 2021-09-06 07:29:56 V/Bot.2845777804: Event: GroupMessagePostSendEvent(target=Group(), message=出错啦, 等会再试试吧  ̄へ ̄, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@b8ff177) 2021-09-06 07:29:56 E/Reporter: java.lang.Exception: Not found info for date: 9-6 java.lang.Exception: Not found info for date: 9-6 at online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler.kt:181) at online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.kt:192) at online.ruin_of_future.reporter.ReporterPlugin$onEnable$4$1$1.invokeSuspend(App.kt:123) 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:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

    opened by YuiOfAstora 1
  • 虚空推送

    虚空推送

    2022-12-16 07:00:05 V/Bot.2322981435: Group <- 早上好呀, 这是今天的 B 站番剧 \n( ?? ω ?? )? 2022-12-16 07:00:05 V/Bot.2322981435: Group <- 早上好呀, 这是今天的新闻速报 \nq(≧▽≦q) 2022-12-16 07:00:05 E/Reporter: javax.imageio.IIOException: Can't get input stream from URL! javax.imageio.IIOException: Can't get input stream from URL! at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1407) at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler$writeOneAnimeInfo$oneAnimeImg$1.invokeSuspend(AnimeCrawler.kt:118) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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) Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching i0.hdslb.com found. at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:128) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1329) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1204) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1151) at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421) at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:178) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245) at java.base/java.net.URL.openStream(URL.java:1117) at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1405) ... 9 more Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching i0.hdslb.com found. at java.base/sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:207) at java.base/sun.security.util.HostnameChecker.match(HostnameChecker.java:98) at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:459) at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:434) at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1313) ... 26 more

    2022-12-16 07:00:06 E/Reporter: javax.net.ssl.SSLPeerUnverifiedException: Hostname zhuanlan.zhihu.com not verified: certificate: sha256/3PZZUpv7pGYs8pPznLO9I3ystqeMvzJJ0IJesy9+yiY= DN: CN=.cdn.myqcloud.com subjectAltNames: [*.cdn.myqcloud.com, *.2144.cn, *.2144.com, *.4399.com, *.5054399.com, *.58cdn.com.cn, *.danmu.com, *.dpfile.com, *.ffnews.cn, *.file.myqcloud.com, *.flash.2144.com, *.flash.cn, *.image.myqcloud.com, *.img4399.com, *.sogoucdn.com, *.uniqlo.cn, *.vip.cdngot.com, *.vod.myqcloud.com, *.vod2.myqcloud.com, *.wanyabox.com, *.zhongcheng818.com, cdn.myqcloud.com, nitrome.com.4399.com, www.miniclip.com.4399pk.com] javax.net.ssl.SSLPeerUnverifiedException: Hostname zhuanlan.zhihu.com not verified: certificate: sha256/3PZZUpv7pGYs8pPznLO9I3ystqeMvzJJ0IJesy9+yiY= DN: CN=.cdn.myqcloud.com subjectAltNames: [*.cdn.myqcloud.com, *.2144.cn, *.2144.com, *.4399.com, *.5054399.com, *.58cdn.com.cn, *.danmu.com, *.dpfile.com, *.ffnews.cn, *.file.myqcloud.com, *.flash.2144.com, *.flash.cn, *.image.myqcloud.com, *.img4399.com, *.sogoucdn.com, *.uniqlo.cn, *.vip.cdngot.com, *.vod.myqcloud.com, *.vod2.myqcloud.com, *.wanyabox.com, *.zhongcheng818.com, cdn.myqcloud.com, nitrome.com.4399.com, www.miniclip.com.4399pk.com] at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:389) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at news-reporter-1.4.3.mirai.jar//okhttp3.internal.connection.RealCall.execute(RealCall.kt:154) at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.HTTPGetter$get$2$future$1.invokeSuspend(HTTPGetter.kt:19) 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:284) 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 news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.HTTPGetter.get(HTTPGetter.kt:14) at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler$newsToday$newsDoc$1.invokeSuspend(NewsCrawler.kt:165) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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)

    opened by hejinding 2
  • Linux系统下启动时报错

    Linux系统下启动时报错

    log 2022-07-07 15:20:48 E/main: Failed to init MiraiConsole. net.mamoe.mirai.console.internal.util.ServiceLoadException: Could not load service online.ruin_of_future.reporter.ReporterPlugin. at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadService(PluginServiceHelper.kt:60) at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadAllServices(PluginServiceHelper.kt:42) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl$extractPlugins$findAllInstances$2.invoke(BuiltInJvmPluginLoaderImpl.kt:170) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl$extractPlugins$findAllInstances$2.invoke(BuiltInJvmPluginLoaderImpl.kt:165) at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210) at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:314) at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214) at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:307) at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303) at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:786) at kotlin.sequences.SequencesKt___SequencesKt.toSet(_Sequences.kt:827) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.extractPlugins(BuiltInJvmPluginLoaderImpl.kt:191) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.listPlugins(BuiltInJvmPluginLoaderImpl.kt:66) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.listPlugins(JvmPluginLoader.kt) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:192) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:138) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:148) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:178) 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(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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) Caused by: java.lang.ExceptionInInitializerError at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadService(PluginServiceHelper.kt:51) ... 36 more Caused by: java.io.IOException: Problem reading font data. at java.desktop/java.awt.Font.createFont0(Font.java:1208) at java.desktop/java.awt.Font.createFont(Font.java:1076) at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.NewsCrawler.<init>(NewsCrawler.kt:25) at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.ReporterPlugin.<clinit>(App.kt:27) ... 39 more

    opened by hhhfsj 1
  • 无法发送图片

    无法发送图片

    2021-09-30 11:30:19 V/Bot.3******66: Friend(**********) <- 这是今天的 B 站番剧 ( •̀ ω •́ )✧
    2021-09-30 11:30:20 E/Reporter: Exception in coroutine Plugin Reporter of Reporter
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
            at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106)
            at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
            at online.ruin_of_future.reporter.AnimeCrawler.buildImageByteArray(AnimeCrawler.kt:95)
            at online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler.kt:189)
            at online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.kt:197)
            at online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendAnimeToTarget$1.invokeSuspend(App.kt:113)
            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 kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
            at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
    

    运行环境是ubuntu 20.04 aarch64

    opened by Feiyuyu0503 7
Owner
LinHe
This is trivial.
LinHe
This console based application calculates sales tax, import duty and provide a way to print the invoice

Sales Tax Problem This console based application calculates sales tax, import du

null 0 Dec 17, 2021
A console-based productivity app involving both To-Do Lists and Goal tracking

This is a console-based productivity app involving both To-Do Lists and Goal tracking. It allows users to create To-Dos, check them off, and filter the display between complete/incomplete items

Joel Jossie 3 Dec 25, 2022
Mirai-device-generator - Mirai Device Generator with kotlin

Mirai Device Generator Mirai DeviceInfo 生成器 作为插件运行时会提供 BotConfigurationAlterer 服

cssxsh 46 Jan 1, 2023
A Mirai console plugin that can provide osu!std players some appropriate beatmap (WIP)

OsuMapSuggester A mirai-console plugin that can provide osu!std players some appropriate beatmap. (WIP) Features It can analyze player's aim, speed an

StageGuard 29 Dec 14, 2022
mirai-console 插件开发计划

Debug Helper 基于 Mirai Console 的RSS订阅插件 机器人会在触发上线事件后向群聊发送上线卡片消息 有好友申请和加群申请时,会记录事件信息,并联系机器人所有者 指令 注意: 使用前请确保可以 在聊天环境执行指令 <...>中的是指令名,由空格隔开表示或,选择其中任一名称都可

null 20 Nov 20, 2022
A Mirai-Console Plugin

MuteGames 一个以 Mirai-Console 为基础开发并为了满足群友PVP需求和抖M需求开发的禁言游戏集合 开始使用 插件需要以 Mirai-Console 为基础,你可以下载 MCL 作为你的Mirai插件载入器 与此同时,本插件需要 Mirai 官方插件 chat-command 使

null 10 Dec 8, 2022
A QQ bot based on Mirai.

Chii A QQ bot based on Mirai. 个人使用, 仅供娱乐. Building from Source $ git clone https://github.com/MaxXSoft/Chii.git $ cd Chii $ gradle run License Copyri

MaxXing 5 Dec 17, 2021
McMotd - Mirai Plugin for fetching motd from minecraft servers

Mirai-wiki 基于mirai的Minecraft服务器信息查询插件 关于Linux运行环境 如果你正在使用Linux而不是Windows来运行Mirai

ZRnQ 25 Dec 31, 2022
Based on mirai, a fast simple bot for maimai DX

maimai-bot 一个基于 mirai 和 舞萌 DX 查分器 编写的 maimai DX QQ 机器人插件。

心水湛清 20 Dec 16, 2022
A mirai chatbot plugin based on OpenAI GPT-3 API

Mirai OpenAI GPT-3 ChatBot Plugin This is a Mirai ChatBot plugin based on OpenAI GPT-3 API. Installation Download the JAR file from https://github.com

std::_Rb_tree 33 Jan 31, 2023
Use an expanded notification as a makeshift Android log output console

NotificationLog Use an expanded notification as a makeshift Android log output console. https://vine.co/v/bFxhUAVjvrY The design goals of this project

Jeff Gilfelt 162 Nov 15, 2022
An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime

An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime

Jake Wharton 1.4k Dec 28, 2022
Console Weather App With Kotlin

ConsoleWeatherApp Описание Данный сервис позволяет получить текущее состояние погоды в выбранном городе. Использование Сервис может быть запущен со сл

Danil Medvedev 0 Jan 4, 2022
This console based application calculates sales tax, import duty and provide a way to print the invoice

Sales Tax Problem This console based application calculates sales tax, import du

null 0 Dec 17, 2021
Gitversion - A native console application to calculate a version based on git commits and tags

GitCommit A native console application to calculate a version based on git commi

Solugo 5 Sep 13, 2022
A console-based productivity app involving both To-Do Lists and Goal tracking

This is a console-based productivity app involving both To-Do Lists and Goal tracking. It allows users to create To-Dos, check them off, and filter the display between complete/incomplete items

Joel Jossie 3 Dec 25, 2022
An easy way to customize your log in Android,including output to console, writing log to file in high performance way and so on

EasyLog An easy way to customize your log in Android,including output to console, writing log to file in high performance way and so on. 1. Initializa

Taylor 40 Dec 8, 2022
Kotter - aims to be a relatively thin, declarative, Kotlin-idiomatic API that provides useful functionality for writing delightful console applications.

Kotter (a KOTlin TERminal library) aims to be a relatively thin, declarative, Kotlin-idiomatic API that provides useful functionality for writing delightful console applications.

Varabyte 348 Dec 21, 2022
Simple Design for Kotlin bridge with Javascript. Also can get javascript console.log.

SDBridgeJava is here. If your h5 partner confused about how to deal with iOS and Android. This Demo maybe help. bilibili video introduction is here. Y

null 14 Dec 19, 2022
A console-based game that helps you learn new words.

learn-language-game ?? ?? ?? This is a simple console-based game which helps you learn new words each day. Prerequisites An API-KEY is required from R

null 2 Jul 21, 2022