diff --git a/app/src/main/java/com/github/catvod/utils/BufferedHttpServer.kt b/app/src/main/java/com/github/catvod/utils/BufferedHttpServer.kt index 61e4eda5..0d5349a9 100644 --- a/app/src/main/java/com/github/catvod/utils/BufferedHttpServer.kt +++ b/app/src/main/java/com/github/catvod/utils/BufferedHttpServer.kt @@ -52,11 +52,12 @@ class AdvancedHttpServer(private val port: Int) { // 解析请求行 val requestLine = reader.readLine() ?: "" + SpiderDebug.log("requestLine: $requestLine") + val (method, path, _) = parseRequestLine(requestLine) // 解析路径和查询参数 val (basePath, queryParams) = parsePath(path) - SpiderDebug.log("请求路径: $basePath, 查询参数: $queryParams") // 读取请求头 val headers = mutableMapOf() diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index a550e23a..4046e437 100644 Binary files a/jar/custom_spider.jar and b/jar/custom_spider.jar differ diff --git a/jar/custom_spider.jar.md5 b/jar/custom_spider.jar.md5 index d687a59c..6350bc46 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -70e0ff204c63fb77312eb360c1f2a32a +a7ec699dbb3c9e127e1d1781660263f7 diff --git a/json/test.json b/json/test.json index 3b590e05..bd3ad4e7 100644 --- a/json/test.json +++ b/json/test.json @@ -1,5 +1,5 @@ { - "spider": "https://gh.llkk.cc/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadNew/jar/custom_spider.jar;md5;70e0ff204c63fb77312eb360c1f2a32a", + "spider": "https://gh.llkk.cc/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadNew/jar/custom_spider.jar;md5;a7ec699dbb3c9e127e1d1781660263f7", "lives": [ { "name": "电视直播",