【涩图插件喜加一】mirai-console-lolicon
-
@samarium150 感谢大佬!大佬辛苦!
-
大佬 我这咋一直显示网络连接错误? 是API不行了吗?
2021-12-02 17:02:42 E/mirai-console-lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2019/10/21/21/38/24/77410245_p0_master1200.jpg, connect_timeout=unknown ms]
io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2019/10/21/21/38/24/77410245_p0_master1200.jpg, connect_timeout=unknown ms]
at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183)
at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75)
at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1)
at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.net.SocketTimeoutException: Connect timed out
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333)
at java.base/java.net.Socket.connect(Socket.java:645)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502) -
@alexwick62 参见 40楼
-
-
@samarium150 OK了谢谢大佬
-
-
@samarium150 感恩的心
-
用lolicon get 后面加标签时,如果标签有空格,就只能识别空格前面的内容。有的标签是几个单词之间有空格的,希望大佬可以改进一下
-
@imi-123 举个例子然后发github issue吧,我加到todo里
-
@samarium150 好的,已经发好了
-
大佬 麻烦问一下私发可以获得消息,群里发能看到爬取到了图片也显示发送了,但是群里面没有发出消息是怎么回事呢
-
@bestlm 可能被风控了,你试试私聊
-
@samarium150 私聊可以正常获得图片地址,只有群聊不可以
-
@bestlm 是只有群聊没有图片吧,那大概率是风控
-
@samarium150 感谢回复,通过清理bots下的cache解决了
-
如何设置用户的r18属性值?
-
@白嫖怪林先生 把这个人加入信任列表,让他私聊发送
/lolicon set r18 <value>
,value
可选0/1/2
-
嗷嗷!谢谢
-
bot管理者不能设置用户属性吗?比如不给某个用户看r18。
-
@白嫖怪林先生 默认就是没有r18的
-
网络代理错误怎么办