diff --git a/app/build.gradle b/app/build.gradle index 80db5895..c8687413 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,9 +38,9 @@ dependencies { debugImplementation 'org.chromium.net:cronet-embedded:101.4951.41' implementation('com.github.thegrizzlylabs:sardine-android:0.8') { exclude group: 'com.squareup.okhttp3', module: 'okhttp' } implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3' - implementation('com.squareup.okhttp3:okhttp:3.12.13') { force = true } implementation 'wang.harlon.quickjs:wrapper-android:0.21.1' implementation 'com.google.net.cronet:cronet-okhttp:0.1.0' + implementation 'com.squareup.okhttp3:okhttp:3.12.13' implementation 'com.google.code.gson:gson:2.8.6' implementation 'cn.wanghaomiao:JsoupXpath:2.5.1' implementation 'com.google.zxing:core:3.3.0' diff --git a/app/src/main/java/com/github/catvod/utils/Utils.java b/app/src/main/java/com/github/catvod/utils/Utils.java index 29f00c36..f73068bd 100644 --- a/app/src/main/java/com/github/catvod/utils/Utils.java +++ b/app/src/main/java/com/github/catvod/utils/Utils.java @@ -61,7 +61,7 @@ public class Utils { } public static boolean isSub(String ext) { - return ext.equals("srt") || ext.equals("ass") || ext.equals("ssa"); + return ext.equals("srt") || ext.equals("ass") || ext.equals("ssa") || ext.equals("vtt"); } public static String getExt(String name) { diff --git a/build.gradle b/build.gradle index f647df4e..0fd13f1f 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,6 @@ plugins { id 'com.android.library' version '7.2.2' apply false } -task clean(type: Delete) { +tasks.register('clean', Delete) { delete rootProject.buildDir } \ No newline at end of file diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 3748ec41..b2dcd63d 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 a496b533..f775be84 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -b79c6259bff1b9d4fb5e03f485a236c9 +efad1ff3aa970692ffdb8dfd8b426193