gnuf0rce / rss-helper Goto Github PK
View Code? Open in Web Editor NEWmirai-console 插件开发计划
Home Page: https://github.com/orgs/gnuf0rce/projects/1
License: GNU Affero General Public License v3.0
mirai-console 插件开发计划
Home Page: https://github.com/orgs/gnuf0rce/projects/1
License: GNU Affero General Public License v3.0
我的本地代理端口为2082,设置如下无法连接。
# MAP(host, proxy), default by host=127.0.0.1
proxy:
www.google.com: 'http://127.0.0.1:2082'
twitter.com: 'http://127.0.0.1:2082'
日志:https://paste.ubuntu.com/p/BV6drHbPz5/
目前我只有直接开启电脑梯子全局或者NETCH的TUN/TAP模式使用
`16:08:59 [INFO] iTXTech Mirai Console Loader version 1.2.2-60c67fb
16:08:59 [INFO] https://github.com/iTXTech/mirai-console-loader
16:08:59 [INFO] This program is licensed under GNU AGPL v3
16:08:59 [INFO] Fetching Mirai Console Loader Announcement...
16:09:01 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏
如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
- 如 Unsupported image type for ExternalResource *
considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose
常用资源整合
`- https://mirai.mamoe.net/topic/653
16:09:01 [INFO] Verifying "net.mamoe:mirai-console" v2.11.0-M1
16:09:02 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.11.0-M1
16:09:02 [INFO] Verifying "net.mamoe:mirai-core-all" v2.11.0-M1
16:09:03 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2
16:09:03 [INFO] Verifying "net.mamoe:mirai-api-http" v1.10.0
16:09:04 [INFO] Verifying "net.mamoe:chat-command" v0.5.1
16:09:04 [INFO] Verifying "rss-helper" v
16:09:04 [ERROR] Failed to verify package "rss-helper"
16:09:04 [ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at org.itxtech.mcl.component.Config$Package.getName(Config.java:120)
at org.itxtech.mcl.component.Config$Package.getBasename(Config.java:124)
at org.itxtech.mcl.component.Config$Package.getJarFile(Config.java:128)
at org.itxtech.mcl.Utility.checkLocalFile(Utility.java:69)
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.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.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.java:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:172)
at org.itxtech.mcl.Loader.main(Loader.java:68)
16:09:04 [INFO] Verifying "io.github.gnuf0rce:rss-helper" v1.1.2
16:09:04 [WARN] Package "net.mamoe:mirai-api-http" requires "net.mamoe:mirai-console" version 2.5.0. Currentversion is 2.11.0-M1
16:09:04 [WARN] Package "net.mamoe:chat-command" requires "net.mamoe:mirai-console" version 2.0-RC. Current version is 2.11.0-M1
16:09:04 [ERROR] org.mozilla.javascript.WrappedException: Wrapped java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 (boot.js#78)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1899)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at script(boot.js:78)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.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.java: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.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at org.itxtech.mcl.component.Config$Package.getName(Config.java:120)
at org.itxtech.mcl.component.Config$Package.getBasename(Config.java:124)
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.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
... 20 more
`
初始订阅Youtube时,会大量刷屏。希望能够做个限制,或者初始的订阅的时候将最新的进行添加
测试链接:https://rsshub.app/youtube/channel/UC6F7ZOpskuTyU2Mx73gUpsA
您好,目前通过订阅获取的内容会一次性显示所有内容,如何限制其在qq中显示的字数?
v1.1.1插件加载错误
v1.1.0可正常加载
2022-02-20 11:14:12 E/rss-helper: java.lang.NoSuchMethodError: 'kotlin.reflect.KType kotlin.jvm.internal.Reflection.mutableCollectionType(kotlin.reflect.KType)'
java.lang.NoSuchMethodError: 'kotlin.reflect.KType kotlin.jvm.internal.Reflection.mutableCollectionType(kotlin.reflect.KType)'
at io.github.gnuf0rce.mirai.plugin.data.FeedRecordData.<clinit>(Record.kt:29)
at io.github.gnuf0rce.mirai.plugin.RssHelperPlugin.onEnable(RssHelperPlugin.kt:17)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:158)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:214)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:277)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
mirai 2.9.0-RC2
如题
rss-help版本:1.10
rss源:https://blog.x-lf.com/atom.xml
最新版本,所有的推送都没有换行,rss源里是用<br>换行的
我在大概半个月前使用本插件,遇到了mirai假死的问题,即无消息接收与发送(已订阅的也没有进行推送),当时以为是mirai问题所以用了几天就没用了,一周前在腾讯云Windows Server 2022上海机器部署的mirai安装了B站订阅插件与Chat Command,目前运行一周无任何错误,今天重新加载此插件,我去掉了doh(按照教程删掉),其他无任何改动。
# Dns Over Https Url
doh: ''
# Use IPv6
ipv6: false
# SNI HostName Remove Regex
sni:
- 'sukebei\.nyaa\.(si|net)'
# Http Timeout
timeout: 30000
# MAP(host, proxy), default by host=127.0.0.1
proxy:
www.google.com: 'http://127.0.0.1:8080'
twitter.com: 'socks://127.0.0.1:1080'
# DNS CNAME
cname:
twimg.com:
- twimg.twitter.map.fastly.net
- pbs.twimg.com.akamaized.net
mirai控制台内容为:
2023-11-18 14:08:31 W/mirai-skia-plugin: https://ghproxy.com/https://github.com/cssxsh/gif-jni/releases/download/v2.0.8/gif-windows-x64.dll
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source)
at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-11-18 14:09:13 E/mirai-skia-plugin: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.mirai-skia-plugin of mirai-skia-plugin
java.net.ConnectException: Failed to connect to github.com/20.205.243.166:443
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: no further information
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
at mirai-skia-plugin-1.3.2.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
... 18 more
如题
希望支持用户能够使用正则来选择发送的内容。
我有根据标题来选择是否发送订阅内容的需求。
如上
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.