base64修改
This commit is contained in:
parent
026510aadb
commit
c8ae77e656
|
|
@ -14,6 +14,7 @@ import android.webkit.WebViewClient;
|
||||||
|
|
||||||
import com.github.catvod.spider.Init;
|
import com.github.catvod.spider.Init;
|
||||||
|
|
||||||
|
import kotlin.io.encoding.Base64Kt;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import org.mozilla.universalchardet.UniversalDetector;
|
import org.mozilla.universalchardet.UniversalDetector;
|
||||||
|
|
@ -284,11 +285,11 @@ public class Util {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String base64Decode(String s) {
|
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) {
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
00434bf359f64c2b11f8f60f4c630436
|
5c76b15e95eb27a4086e0113f94c4ca7
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue