diff --git a/app/src/main/java/com/github/catvod/utils/Util.java b/app/src/main/java/com/github/catvod/utils/Util.java index fe3f9032..8dea717d 100644 --- a/app/src/main/java/com/github/catvod/utils/Util.java +++ b/app/src/main/java/com/github/catvod/utils/Util.java @@ -14,6 +14,7 @@ import android.webkit.WebViewClient; import com.github.catvod.spider.Init; +import kotlin.io.encoding.Base64Kt; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mozilla.universalchardet.UniversalDetector; @@ -284,11 +285,11 @@ public class Util { } public static String base64Decode(String s) { - return new String(android.util.Base64.decode(s, Base64.DEFAULT), Charset.defaultCharset()); + return new String(android.util.Base64.decode(s, Base64.NO_WRAP), Charset.defaultCharset()); } public static String base64Encode(byte[] bytes) { - return new String(android.util.Base64.encode(bytes, Base64.DEFAULT), Charset.defaultCharset()); + return new String(android.util.Base64.encode(bytes, Base64.NO_WRAP), Charset.defaultCharset()); } /** diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 596b6c60..dafe1bae 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 a2ac4a5c..6326a47f 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -00434bf359f64c2b11f8f60f4c630436 +5c76b15e95eb27a4086e0113f94c4ca7 diff --git a/json/index.json b/json/index.json index fc5e7911..33e3125d 100644 --- a/json/index.json +++ b/json/index.json @@ -1,5 +1,5 @@ { - "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;00434bf359f64c2b11f8f60f4c630436", + "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;5c76b15e95eb27a4086e0113f94c4ca7", "lives": [ { "name": "直播ipv6", diff --git a/json/index1.json b/json/index1.json index 780c0534..81cc60fd 100644 --- a/json/index1.json +++ b/json/index1.json @@ -1,5 +1,5 @@ { - "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;00434bf359f64c2b11f8f60f4c630436", + "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;5c76b15e95eb27a4086e0113f94c4ca7", "lives": [ { "name": "直播ipv6", diff --git a/json/index2.json b/json/index2.json index 3da8e1f8..87d3ee0d 100644 --- a/json/index2.json +++ b/json/index2.json @@ -1,5 +1,5 @@ { - "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;00434bf359f64c2b11f8f60f4c630436", + "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;5c76b15e95eb27a4086e0113f94c4ca7", "lives": [ { "name": "直播ipv6",