diff --git a/app/src/main/java/com/github/catvod/spider/Live.java b/app/src/main/java/com/github/catvod/spider/Live.java index 540b50b9..2fc5b683 100644 --- a/app/src/main/java/com/github/catvod/spider/Live.java +++ b/app/src/main/java/com/github/catvod/spider/Live.java @@ -10,10 +10,18 @@ import com.github.catvod.crawler.Spider; public class Live extends Spider { + private int delay; + @Override public void init(Context context, String extend) { super.init(context, extend); - Init.run(this::openLive, delay(extend)); + this.delay = delay(extend); + } + + @Override + public String homeVideoContent() { + Init.run(this::openLive, delay); + return ""; } private int delay(String extend) { diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 97e63f08..ad357cda 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 05fad4f9..c851c93f 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -09cb3b87750788e648fa34955e8381e8 +e200bfe02aff07b4b4e789dbdb0d15aa diff --git a/json/adult.json b/json/adult.json index e07048e3..62ef2a1d 100644 --- a/json/adult.json +++ b/json/adult.json @@ -1,5 +1,5 @@ { - "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;09cb3b87750788e648fa34955e8381e8", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;e200bfe02aff07b4b4e789dbdb0d15aa", "wallpaper": "https://gao.chuqiuyu.tk", "lives": [ { diff --git a/json/config.json b/json/config.json index 1f5ae8e6..9b4f58e7 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;09cb3b87750788e648fa34955e8381e8", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;e200bfe02aff07b4b4e789dbdb0d15aa", "wallpaper": "http://www.kf666888.cn/api/tvbox/img", "lives": [ {