B站订阅插件,动态、视频、直播订阅 @全体成员
-
mirai-selenium-plugin:2.0,8 bilibili-helper:1.4.7
-
@maudslice
你确定修改之后保存重启了吗
config\xyz.cssxsh.mirai.plugin.mirai-selenium-plugin\MiraiSeleniumConfig.yml
-
@cssxsh 是的,我非常确定,刚检查了一遍.
-
@maudslice
找到问题了,下个版本修复 -
@cssxsh 好的,非常感谢
-
为什么我设置了但是他不会提醒?
还有就是信息解析指令里面的id是指那个 -
@limitationai
请说明你做了什么,或者想做什么。
我设置
这种描述太模糊了 -
@cssxsh 就是主播开播后,群里面会自动提示谁谁开播了,动态也是,某主播发了动态,自动转发到群里
-
@cssxsh 就是我在终端里面输入了添加动态订阅的指令和添加直播订阅的指令,但是开播后他没有在群里面通知和提醒,动态也是。。。
-
@limitationai
确认不是风控之类的影响吗,
/bili-live list
可以查看订阅的详情 -
您好, 截图功能还是不好使.您帮忙看看错误日志
OS:Linux-amd64 mirai-selenium-plugin:2.0.8 bilibili-helper:1.4.9
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /home/czr/mirai/data/xyz.cssxsh.mirai.plugin.mirai-selenium-plugin/Chromium-v98.0.4758.80-r950365-portable-ungoogled-Lin64/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Build info: version: '4.1.2', revision: '9a5a329c5a' System info: host: 'cdh104', ip: '192.168.1.50', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-957.21.3.el7.x86_64', java.version: '17.0.1' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--headless, --silent, --hide-scrollbars, --user-agent=Mozilla/5.0 (i..., --window-size=768,1024, --no-sandbox, --disable-dev-shm-usage], binary: /home/czr/mirai/data/xyz.cs..., excludeSwitches: [enable-automation, ignore-certificate-errors], extensions: [], prefs: {}}, pageLoadStrategy: normal}], desiredCapabilities=Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--headless, --silent, --hide-scrollbars, --user-agent=Mozilla/5.0 (i..., --window-size=768,1024, --no-sandbox, --disable-dev-shm-usage], binary: /home/czr/mirai/data/xyz.cs..., excludeSwitches: [enable-automation, ignore-certificate-errors], extensions: [], prefs: {}}, pageLoadStrategy: normal}}]
-
@maudslice
尝试安装xvfb
-
@cssxsh 装了, 依然不能截图, 错误日志和上面的一样
-
@maudslice
xvfb-run -a
启动一下 -
-
@maudslice
xvfb
应该是单独作为服务运行的吧 -
@cssxsh 我不会用这个, 如果你知道的话可以直接跟我说怎么用吗, xvfb-run没有start一类的命令, Xvfb 我运行了倒是有一个进程, 但截图还是报错
-
@maudslice
你试试这样Xvfb -ac :7 -screen 0 1280x1024x8 > /dev/null 2>&1 export DISPLAY=:7
-
@cssxsh 好像并没有什么用, 好吧, 我放弃了. 还是感谢您耐心的解答
-
Bot重启之后 会报错
2022-03-07 18:48:44 W/bilibili-helper: LiveWaiter with 19428259 数据加载异常,请汇报给开发者 kotlinx.serialization.MissingFieldException: Field 'online' is required for type with serial name 'xyz.cssxsh.bilibili.data.BiliRoomSimple', but it was missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at xyz.cssxsh.bilibili.data.BiliRoomSimple.<init>(Live.kt:57) at xyz.cssxsh.bilibili.data.BiliRoomSimple$$serializer.deserialize(Live.kt:57) at xyz.cssxsh.bilibili.data.BiliRoomSimple$$serializer.deserialize(Live.kt:57) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206) at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279) at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296) at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279) at xyz.cssxsh.bilibili.data.BiliUserInfo$$serializer.deserialize(User.kt:23) at xyz.cssxsh.bilibili.data.BiliUserInfo$$serializer.deserialize(User.kt:23) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63) at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51) at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:24) at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:119) at xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1.invokeSuspend(Api.kt:130) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) 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)