LinHeLurking / mirai-news-reporter

一个简单的每日新闻速报/动画速报 mirai-console 插件
GNU Affero General Public License v3.0
83 stars 6 forks source link

无法获取番剧列表:显示今天没有放送,且后台输出的日期错误 #27

Closed tiehu closed 1 year ago

tiehu commented 1 year ago

故障表现:在群内请求番剧列表,bot回复“好像今天没有放送呢 >_<”。查看控制台日志,显示如下信息: online.ruin_of_future.reporter.crawler.NoAnimeException: Not found info for date: 1-2 at news-reporter-1.4.6.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.animeByDate(AnimeCrawler.kt:230) at news-reporter-1.4.6.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.access$animeByDate(AnimeCrawler.kt:79) at news-reporter-1.4.6.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler$animeByDate$1.invokeSuspend(AnimeCrawler.kt) 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) 显示发送请求的日期为1-2,但实际发送请求时间为3-10。已检查过Linux系统日期正确无误。 已经多次测试,昨天、今天均出现相同问题,且通过查询B站时间表发现这两天确实是有番剧的。

预期行为:插件正常获取当天的番剧并推送至群内。

运行环境: 在Linux Deploy上部署的Debian 10,Mirai-2.14.0,插件版本1.4.6,Java17。

复现方式: 在上述环境测试中,发送番剧请求即可稳定复现。

LinHeLurking commented 1 year ago

对不起,之前的测试代码弄混到主分支了,我马上回滚

LinHeLurking commented 1 year ago

1.4.7 已修复。我会尽快 Release。 😄

LinHeLurking commented 1 year ago

release 下载最新版本试试看吧。

tiehu commented 1 year ago

非常感谢,1.4.7已验证修复,关闭Issue。