We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这里是测试用的视频: 链接: https://pan.baidu.com/s/1XzZSpA5NBzMzlwdR98xwxA?pwd=9m16 提取码: 9m16 复制这段内容后打开百度网盘手机App,操作更方便哦
下面是我测试抓取的日志信息: 2023-01-16 14:47:20.145 17675-19649/cn.kuwo.player I/SocketProcessTask: SocketProcessTask 创建: 37770 2023-01-16 14:47:20.145 17675-19666/cn.kuwo.player I/SocketProcessTask: sRequestCountAtomic : 1 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求URL:/aHR0cDovL2FyLnBsYXllci5yZjAxLnN5Y2RuLmt1d28uY24vN2M5N2I3ZmZlOGZkNDk1MmE4Mjk1YjRiM2ViYjQxZjkvNjNjNGYyZjgvcmVzb3VyY2UvbTIvNjMvOTIvMjQ0MjEyNTI5Ny5tcDQmamVmZm1vbnlfdmlkZW8mbm9uX20zdTgmamVmZm1vbnlfdmlkZW8mMzk0NDczMV83X01QNCZqZWZmbW9ueV92aWRlbyZ1bmtub3du 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Method:GET 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求KeepAlive:false 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:remote-addr:127.0.0.1 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:icy-metadata:1 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:http-client-ip:127.0.0.1 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:host:127.0.0.1:42053 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:range:bytes=0- 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:connection:close 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:user-agent:Lavf/57.83.100 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:accept:/ 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: request.parseRequest end 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: request url=http://werewrewt2442125297.mp4 2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: http://42125297.mp4 non_m3u8 unknown 2023-01-16 14:47:20.148 17675-19666/cn.kuwo.player D/SocketProcessTask: request mSocket-->37770 2023-01-16 14:47:20.159 17675-19649/cn.kuwo.player I/SocketProcessTask: SocketProcessTask 创建: 37772 2023-01-16 14:47:20.159 17675-19667/cn.kuwo.player I/SocketProcessTask: sRequestCountAtomic : 2 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求URL:/aHR0cDovL2FyLnBsYXllci5yZjAxLnN5Y2RuLmt1d28uY24vN2M5N2I3ZmZlOGZkNDk1MmE4Mjk1YjRiM2ViYjQxZjkvNjNjNGYyZjgvcmVzb3VyY2UvbTIvNjMvOTIvMjQ0MjEyNTI5Ny5tcDQmamVmZm1vbnlfdmlkZW8mbm9uX20zdTgmamVmZm1vbnlfdmlkZW8mMzk0NDczMV83X01QNCZqZWZmbW9ueV92aWRlbyZ1bmtub3du 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Method:GET 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求KeepAlive:false 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:remote-addr:127.0.0.1 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:icy-metadata:1 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:http-client-ip:127.0.0.1 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:host:127.0.0.1:42053 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:range:bytes=22100255- 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:connection:close 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:user-agent:Lavf/57.83.100 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:accept:/ 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: request.parseRequest end 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: request url=http://n 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: http://42125297.mp4 non_m3u8 unknown 2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: request mSocket-->37772 2023-01-16 14:47:20.163 17675-19666/cn.kuwo.player W/System.err: at cn.kuwo.cache.socket.SocketProcessTask.run(SocketProcessTask.java:82) 2023-01-16 14:47:20.163 17675-19666/cn.kuwo.player E/SocketProcessTask: socket request failed, exception=cn.kuwo.cache.common.VideoCacheException: send response failed: 2023-01-16 14:47:20.163 17675-19666/cn.kuwo.player W/SocketProcessTask: finally Socket solve count = 1
The text was updated successfully, but these errors were encountered:
我调试发现,应该是因为文件独占的锁定,造成后面22100255-的请求,不能正常网络请求并返回,这里好像应该单独处理一下请求不是从0开始,但从0开始在请求还存在的情况,这种情况下非从0开始的应该直接转发返回给播放器
Sorry, something went wrong.
No branches or pull requests
这里是测试用的视频:
链接: https://pan.baidu.com/s/1XzZSpA5NBzMzlwdR98xwxA?pwd=9m16 提取码: 9m16 复制这段内容后打开百度网盘手机App,操作更方便哦
下面是我测试抓取的日志信息:
2023-01-16 14:47:20.145 17675-19649/cn.kuwo.player I/SocketProcessTask: SocketProcessTask 创建: 37770
2023-01-16 14:47:20.145 17675-19666/cn.kuwo.player I/SocketProcessTask: sRequestCountAtomic : 1
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求URL:/aHR0cDovL2FyLnBsYXllci5yZjAxLnN5Y2RuLmt1d28uY24vN2M5N2I3ZmZlOGZkNDk1MmE4Mjk1YjRiM2ViYjQxZjkvNjNjNGYyZjgvcmVzb3VyY2UvbTIvNjMvOTIvMjQ0MjEyNTI5Ny5tcDQmamVmZm1vbnlfdmlkZW8mbm9uX20zdTgmamVmZm1vbnlfdmlkZW8mMzk0NDczMV83X01QNCZqZWZmbW9ueV92aWRlbyZ1bmtub3du
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Method:GET
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求KeepAlive:false
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:remote-addr:127.0.0.1
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:icy-metadata:1
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:http-client-ip:127.0.0.1
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:host:127.0.0.1:42053
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:range:bytes=0-
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:connection:close
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:user-agent:Lavf/57.83.100
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: 请求Header:accept:/
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: request.parseRequest end
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: request url=http://werewrewt2442125297.mp4
2023-01-16 14:47:20.147 17675-19666/cn.kuwo.player D/SocketProcessTask: http://42125297.mp4
non_m3u8
unknown
2023-01-16 14:47:20.148 17675-19666/cn.kuwo.player D/SocketProcessTask: request mSocket-->37770
2023-01-16 14:47:20.159 17675-19649/cn.kuwo.player I/SocketProcessTask: SocketProcessTask 创建: 37772
2023-01-16 14:47:20.159 17675-19667/cn.kuwo.player I/SocketProcessTask: sRequestCountAtomic : 2
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求URL:/aHR0cDovL2FyLnBsYXllci5yZjAxLnN5Y2RuLmt1d28uY24vN2M5N2I3ZmZlOGZkNDk1MmE4Mjk1YjRiM2ViYjQxZjkvNjNjNGYyZjgvcmVzb3VyY2UvbTIvNjMvOTIvMjQ0MjEyNTI5Ny5tcDQmamVmZm1vbnlfdmlkZW8mbm9uX20zdTgmamVmZm1vbnlfdmlkZW8mMzk0NDczMV83X01QNCZqZWZmbW9ueV92aWRlbyZ1bmtub3du
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Method:GET
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求KeepAlive:false
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:remote-addr:127.0.0.1
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:icy-metadata:1
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:http-client-ip:127.0.0.1
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:host:127.0.0.1:42053
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:range:bytes=22100255-
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:connection:close
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:user-agent:Lavf/57.83.100
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: 请求Header:accept:/
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: request.parseRequest end
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: request url=http://n
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: http://42125297.mp4
non_m3u8
unknown
2023-01-16 14:47:20.160 17675-19667/cn.kuwo.player D/SocketProcessTask: request mSocket-->37772
2023-01-16 14:47:20.163 17675-19666/cn.kuwo.player W/System.err: at cn.kuwo.cache.socket.SocketProcessTask.run(SocketProcessTask.java:82)
2023-01-16 14:47:20.163 17675-19666/cn.kuwo.player E/SocketProcessTask: socket request failed, exception=cn.kuwo.cache.common.VideoCacheException: send response failed:
2023-01-16 14:47:20.163 17675-19666/cn.kuwo.player W/SocketProcessTask: finally Socket solve count = 1
The text was updated successfully, but these errors were encountered: