diff --git a/app/build.gradle b/app/build.gradle index b124a882..1dc43b5f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,7 +42,7 @@ android { dependencies { implementation 'com.squareup.okhttp3:okhttp:' + okhttpVersion implementation 'com.github.thegrizzlylabs:sardine-android:0.9' - implementation 'wang.harlon.quickjs:wrapper-android:2.4.3' + implementation 'wang.harlon.quickjs:wrapper-android:2.4.4' implementation 'com.google.code.gson:gson:2.11.0' implementation 'cn.wanghaomiao:JsoupXpath:2.5.1' implementation 'com.orhanobut:logger:2.2.0' diff --git a/app/src/main/java/com/github/catvod/utils/Path.java b/app/src/main/java/com/github/catvod/utils/Path.java index 0bdd93d6..e2cf7aa4 100644 --- a/app/src/main/java/com/github/catvod/utils/Path.java +++ b/app/src/main/java/com/github/catvod/utils/Path.java @@ -123,6 +123,7 @@ public class Path { public static File create(File file) throws Exception { try { + if (file.getParentFile() != null) mkdir(file.getParentFile()); if (!file.canWrite()) file.setWritable(true); if (!file.exists()) file.createNewFile(); Shell.exec("chmod 777 " + file); diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index b2a65e69..88a20cf9 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 f881ac77..df8ba4e3 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -37b8ee9b068856fa4cae6cc2e6050d7b +98e25197fce4b874343de7d40011de1d