diff --git a/app/src/main/java/com/github/catvod/net/OkRequest.java b/app/src/main/java/com/github/catvod/net/OkRequest.java index fb176531..ded7f5b6 100644 --- a/app/src/main/java/com/github/catvod/net/OkRequest.java +++ b/app/src/main/java/com/github/catvod/net/OkRequest.java @@ -50,12 +50,12 @@ class OkRequest { } private void getInstance() { - Request.Builder builder = new Request.Builder().url(url); + Request.Builder builder = new Request.Builder(); if (method.equals(OkHttp.GET) && params != null) setParams(); if (method.equals(OkHttp.POST)) builder.post(getRequestBody()); if (header != null) for (String key : header.keySet()) builder.addHeader(key, header.get(key)); if (tag != null) builder.tag(tag); - request = builder.build(); + request = builder.url(url).build(); } private RequestBody getRequestBody() { diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 79237389..cf86b569 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 3568e34f..7a9870ae 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -fb25839a41ad3ce40356acf31920373c +85addabeb829c5815cdf69f9173b6e65 diff --git a/json/adult.json b/json/adult.json index 971a89be..f22d8e99 100644 --- a/json/adult.json +++ b/json/adult.json @@ -1,5 +1,5 @@ { - "spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;fb25839a41ad3ce40356acf31920373c", + "spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;85addabeb829c5815cdf69f9173b6e65", "wallpaper": "https://gao.chuqiuyu.tk", "lives": [ { diff --git a/json/config.json b/json/config.json index 114ffa3d..4ca944e5 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;fb25839a41ad3ce40356acf31920373c", + "spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;85addabeb829c5815cdf69f9173b6e65", "wallpaper": "http://www.kf666888.cn/api/tvbox/img", "lives": [ {