Skip to content

斗鱼自动开始录制失败 #74

@Superbia000

Description

@Superbia000

环境:JDK 1.8.0_202, Win10 20H2, 2.18.0

java -Dfile.encoding=utf-8 -jar BiliLiveRecorder.jar "options=Minana.json"

{
"debug": true,
"check": true,
"delete": false,
"liver": "douyu",
"id": "22619",
"qn": -1,
"retry": 7,
"trustAllCert": false,
"fileName": "{name}-{shortId} 的{liver}直播{startTime}-{seq}",
"timeFormat": "yyyy-MM-dd HH.mm",
"plugin": false,
"stopAfterOffline": false,
"retryIfLiveOff": true,
"maxRetryIfLiveOff": 0,
"retryAfterMinutes": 0.5,
"failRetryAfterMinutes": 0.1,
"saveFolder": "D:\BD\Recode\Minana呀"
}


发现cookie配置
当前Room信息:
shortId - 4624967
roomId - 4624967
userId - 196112695
userName - 腐团儿直播_二次元直播_斗鱼直播
liveStatus - 2
title - 腐团儿直播_二次元直播_斗鱼直播
description - 无
0.25分钟左右后重试
发现cookie配置
当前Room信息:
shortId - 4624967
roomId - 4624967
userId - 196112695
userName - 腐团儿直播_二次元直播_斗鱼直播
liveStatus - 1
title - 腐团儿直播_二次元直播_斗鱼直播
description - 无
可提供直播质量:
0 : 原画
申请清晰度 0的链接,得到清晰度 0的链接
开始录制,输入stop停止录制
文件大小: [0] 字节.
java.io.FileNotFoundException: https://hls3-akm.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=cae7972a54739bbbe4d8f88fd0675f8a&token=web-h5-433660960-4624967-a1c58e3a70099c02b328166b4b5635e6169c3f28f31a8742&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:50)
Caused by: java.io.FileNotFoundException: https://hls3-akm.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=cae7972a54739bbbe4d8f88fd0675f8a&token=web-h5-433660960-4624967-a1c58e3a70099c02b328166b4b5635e6169c3f28f31a8742&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:50)
连接异常,0.1min后重新尝试录制
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://hls3-akm.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=fab766ed0cfce8bdce11499bb82b504a&token=web-h5-433660960-4624967-a1c58e3a70099c024413794405961152dee395ee38cd67b1&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://hls3-akm.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=fab766ed0cfce8bdce11499bb82b504a&token=web-h5-433660960-4624967-a1c58e3a70099c024413794405961152dee395ee38cd67b1&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
正在处理,请稍等
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
正在处理,请稍等
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
正在处理,请稍等
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
申请清晰度 0的链接,得到清晰度 0的链接
已经录制了0m40s, 当前进度: 未知
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
正在处理,请稍等
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
连接异常,0.1min后重新尝试录制
正在处理,请稍等
申请清晰度 0的链接,得到清晰度 0的链接
文件大小: [0] 字节.
java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:197)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
Caused by: java.io.FileNotFoundException: https://08b63bbfbac9be017e8a8d7a72ca9be8.v.smtcdns.net/akm-tct.douyucdn.cn/live/4624967rpaM0kNZX.flv?wsAuth=9fd58189a44c06b6e29042ee51045203&token=web-h5-433660960-4624967-a1c58e3a70099c02bb146e321fd9d62542eaaf4fd75474d8&logo=0&expire=0&did=62998e27e2606cdd79b2a1ae00061501&ver=Douyu_219052705&pt=2&st=0&origin=tct&mix=0&isp=&svr_type=live_oc&tencent_test_client_ip=23.62.226.108&dispatch_from=ztc9.198.130.90&utime=1641130099751_3
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:184)
... 3 more
发送GET请求出现异常!java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.download(HttpRequestUtil.java:201)
at nicelee.bilibili.live.impl.RoomDealerDouyu.startRecord(RoomDealerDouyu.java:211)
at nicelee.bilibili.threads.ThRecord.record(ThRecord.java:139)
at nicelee.bilibili.threads.ThRecord.run(ThRecord.java:96)
下载停止
处理文件中
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
校对时间戳开始...
校对时间戳完毕。
SignalHandler is running


发现cookie配置
当前Room信息:
shortId - 22619
roomId - 5551871
userId - 221213755
userName - Minana呀直播_舞蹈直播_斗鱼直播
liveStatus - 2
title - Minana呀直播_舞蹈直播_斗鱼直播
description - 无
0.25分钟左右后重试
发现cookie配置
发送GET请求出现异常!java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.getContent(HttpRequestUtil.java:298)
at nicelee.bilibili.live.impl.RoomDealerDouyu.getRoomInfo(RoomDealerDouyu.java:58)
at nicelee.bilibili.Main.getRoomInfo(Main.java:172)
at nicelee.bilibili.Main.main(Main.java:85)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.URLConnection.getContentEncoding(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentEncoding(Unknown Source)
at nicelee.bilibili.util.HttpRequestUtil.getContent(HttpRequestUtil.java:297)
... 3 more
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at nicelee.bilibili.live.impl.RoomDealerDouyu.getRoomInfo(RoomDealerDouyu.java:64)
at nicelee.bilibili.Main.getRoomInfo(Main.java:172)
at nicelee.bilibili.Main.main(Main.java:85)
解析失败!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThings under consideration, not sure whether to be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions