You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
大佬您好,我发现有的时候可能是因为网络波动或者说是因为别的什么问题容易出现以下报错:
发送GET请求出现异常!java.net.UnknownHostException: m.acfun.cn
java.net.UnknownHostException: m.acfun.cn
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.getContent(HttpRequestUtil.java:295)
at nicelee.bilibili.util.HttpRequestUtil.getContent(HttpRequestUtil.java:257)
at nicelee.bilibili.live.impl.RoomDealerAcfun.getRoomInfo(RoomDealerAcfun.java:48)
at nicelee.bilibili.Main.getRoomInfo(Main.java:173)
at nicelee.bilibili.Main.main(Main.java:78)
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at nicelee.bilibili.live.impl.RoomDealerAcfun.getRoomInfo(RoomDealerAcfun.java:55)
at nicelee.bilibili.Main.getRoomInfo(Main.java:173)
at nicelee.bilibili.Main.main(Main.java:78)
解析失败!!
像这样,但我发现立马关掉重开是不影响开播状态的爬取的,所以如果可以的话能否忽略这一错误呢?
The text was updated successfully, but these errors were encountered:
大佬您好,我发现有的时候可能是因为网络波动或者说是因为别的什么问题容易出现以下报错:
发送GET请求出现异常!java.net.UnknownHostException: m.acfun.cn
java.net.UnknownHostException: m.acfun.cn
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.getContent(HttpRequestUtil.java:295)
at nicelee.bilibili.util.HttpRequestUtil.getContent(HttpRequestUtil.java:257)
at nicelee.bilibili.live.impl.RoomDealerAcfun.getRoomInfo(RoomDealerAcfun.java:48)
at nicelee.bilibili.Main.getRoomInfo(Main.java:173)
at nicelee.bilibili.Main.main(Main.java:78)
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at nicelee.bilibili.live.impl.RoomDealerAcfun.getRoomInfo(RoomDealerAcfun.java:55)
at nicelee.bilibili.Main.getRoomInfo(Main.java:173)
at nicelee.bilibili.Main.main(Main.java:78)
解析失败!!
像这样,但我发现立马关掉重开是不影响开播状态的爬取的,所以如果可以的话能否忽略这一错误呢?
The text was updated successfully, but these errors were encountered: