多线程测试

This commit is contained in:
lushunming 2025-06-17 16:54:40 +08:00
parent 99aeeea4bd
commit 6b20fa8ea5
4 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ public class ProxyVideo {
if (StringUtils.isNoneBlank(range)) { if (StringUtils.isNoneBlank(range)) {
String[] ranges = range.replace("bytes=", "").split("-"); String[] ranges = range.replace("bytes=", "").split("-");
String start = ranges[0]; String start = ranges[0];
String end = ranges[1]; String end = ranges.length == 2 ? ranges[1] : "";
return new Range(start, end); return new Range(start, end);
} }
return null; return null;

Binary file not shown.

View File

@ -1 +1 @@
88f6be9b97ae6be2ebf1980714dc5812 c059badd14c20799615df513d8d6e5c3

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/refs/heads/multiThread/jar/custom_spider.jar;md5;88f6be9b97ae6be2ebf1980714dc5812", "spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/refs/heads/multiThread/jar/custom_spider.jar;md5;c059badd14c20799615df513d8d6e5c3",
"lives": [ "lives": [
{ {
"name": "电视直播", "name": "电视直播",