Pass hidden file
This commit is contained in:
parent
5e35d0cde5
commit
86635cb0e1
|
|
@ -47,6 +47,7 @@ public class Local extends Spider {
|
||||||
if (files == null) return Result.string(items);
|
if (files == null) return Result.string(items);
|
||||||
Arrays.sort(files, (a, b) -> a.getName().compareTo(b.getName()));
|
Arrays.sort(files, (a, b) -> a.getName().compareTo(b.getName()));
|
||||||
for (File file : files) {
|
for (File file : files) {
|
||||||
|
if (file.getName().startsWith(".")) continue;
|
||||||
if (file.isDirectory()) folders.add(create(file));
|
if (file.isDirectory()) folders.add(create(file));
|
||||||
else if (Utils.MEDIA.contains(Utils.getExt(file.getName()))) media.add(create(file));
|
else if (Utils.MEDIA.contains(Utils.getExt(file.getName()))) media.add(create(file));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
85bd2b2f0ac608417b010483b61fcd16
|
ca59a045079b3b0d57696149fa73864f
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue