多线程测试
This commit is contained in:
parent
a11264eb07
commit
25cd597ae6
|
|
@ -150,7 +150,7 @@ public class ProxyVideo {
|
||||||
SpiderDebug.log("parseRange:" + range);
|
SpiderDebug.log("parseRange:" + range);
|
||||||
if (StringUtils.isNoneBlank(range)) {
|
if (StringUtils.isNoneBlank(range)) {
|
||||||
|
|
||||||
String[] ranges = range.replace("bytes=", "").split("-");
|
String[] ranges = StringUtils.split(range.replace("bytes=", ""), "-");
|
||||||
String start = ranges[0];
|
String start = ranges[0];
|
||||||
String end = ranges.length > 1 ? ranges[1] : "";
|
String end = ranges.length > 1 ? ranges[1] : "";
|
||||||
return new Range(start, end);
|
return new Range(start, end);
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
0533c52ab045f5edaaef522267c08568
|
c2f5d58d6de2397d7e8955a449b38835
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThread/jar/custom_spider.jar;md5;0533c52ab045f5edaaef522267c08568",
|
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThread/jar/custom_spider.jar;md5;c2f5d58d6de2397d7e8955a449b38835",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "电视直播",
|
"name": "电视直播",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue