多线程测试

This commit is contained in:
lushunming 2025-06-17 17:06:00 +08:00
parent 6b20fa8ea5
commit 5be2bf0247
4 changed files with 5 additions and 3 deletions

View File

@ -147,10 +147,12 @@ public class ProxyVideo {
}
private static Range parseRange(String range) {
if (StringUtils.isNoneBlank(range)) {
SpiderDebug.log("parseRange:" + range);
String[] ranges = range.replace("bytes=", "").split("-");
String start = ranges[0];
String end = ranges.length == 2 ? ranges[1] : "";
String end = ranges.length > 1 ? ranges[1] : "";
return new Range(start, end);
}
return null;

Binary file not shown.

View File

@ -1 +1 @@
c059badd14c20799615df513d8d6e5c3
6489e17ef578288fd4f5a0ddfad7fd0b

View File

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