diff --git a/app/src/main/java/com/github/catvod/spider/Local.java b/app/src/main/java/com/github/catvod/spider/Local.java index ea369802..5ab61eb9 100644 --- a/app/src/main/java/com/github/catvod/spider/Local.java +++ b/app/src/main/java/com/github/catvod/spider/Local.java @@ -47,6 +47,7 @@ public class Local extends Spider { if (files == null) return Result.string(items); Arrays.sort(files, (a, b) -> a.getName().compareTo(b.getName())); for (File file : files) { + if (file.getName().startsWith(".")) continue; if (file.isDirectory()) folders.add(create(file)); else if (Utils.MEDIA.contains(Utils.getExt(file.getName()))) media.add(create(file)); } diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 1bbafd44..05fa5304 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 ba6a25bc..7975fe7a 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -85bd2b2f0ac608417b010483b61fcd16 +ca59a045079b3b0d57696149fa73864f diff --git a/json/adult.json b/json/adult.json index 821dce8a..f6cd7b4a 100644 --- a/json/adult.json +++ b/json/adult.json @@ -1,5 +1,5 @@ { - "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;85bd2b2f0ac608417b010483b61fcd16", + "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;ca59a045079b3b0d57696149fa73864f", "wallpaper": "https://gao.chuqiuyu.tk", "sites": [ { diff --git a/json/config.json b/json/config.json index 1bf21281..0c804dcc 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;85bd2b2f0ac608417b010483b61fcd16", + "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;ca59a045079b3b0d57696149fa73864f", "wallpaper": "http://饭太硬.ga/深色壁纸/api.php", "sites": [ {