多线程测试

This commit is contained in:
lushunming 2025-06-17 16:37:54 +08:00
parent 459038157d
commit 396379e571
4 changed files with 4 additions and 2 deletions

View File

@ -80,9 +80,11 @@ public class ProxyVideo {
public static Object[] proxyMultiThread(String url, Map<String, String> headers) throws Exception {
String range = headers.get("Range");
SpiderDebug.log("---proxyMultiThread,Range:" + range);
Range rangeObj = parseRange(range);
//没有range,无需分割
if (rangeObj == null) {
SpiderDebug.log("没有range,无需分割");
return proxy(url, headers);
} else {
//end 为空测试请求

Binary file not shown.

View File

@ -1 +1 @@
e815d386e2777a1c728d0133698de99a
7d84170367f99236c044f3a977720cc9

View File

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