多线程测试
This commit is contained in:
parent
6b20fa8ea5
commit
5be2bf0247
|
|
@ -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.
|
|
@ -1 +1 @@
|
|||
c059badd14c20799615df513d8d6e5c3
|
||||
6489e17ef578288fd4f5a0ddfad7fd0b
|
||||
|
|
|
|||
|
|
@ -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": "电视直播",
|
||||
|
|
|
|||
Loading…
Reference in New Issue