From 8ce3bd6712351a18eec9e1cec74d28bd30a977d7 Mon Sep 17 00:00:00 2001 From: nikolin601 <76394646+nikolin601@users.noreply.github.com> Date: Thu, 27 Oct 2022 23:35:27 +0800 Subject: [PATCH] Update Proxy.java --- app/src/main/java/com/github/catvod/spider/Proxy.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/github/catvod/spider/Proxy.java b/app/src/main/java/com/github/catvod/spider/Proxy.java index d3d987b..76c83d2 100644 --- a/app/src/main/java/com/github/catvod/spider/Proxy.java +++ b/app/src/main/java/com/github/catvod/spider/Proxy.java @@ -42,7 +42,8 @@ public class Proxy extends Spider { if (type.equals("txt")) { String ext = params.get("ext"); if (!ext.startsWith("http")) { - ext = new String(Base64.decode(ext, Base64.DEFAULT | Base64.URL_SAFE | Base64.NO_WRAP), "UTF-8"); + ext = new String(Base64.decode(ext, Base64.DEFAULT | Base64.URL_SAFE | Base64.NO_WRAP), "UTF-8");} else if (what.equals("qq")) { + return QQ. } return TxtSubscribe.load(ext); } @@ -53,7 +54,8 @@ public class Proxy extends Spider { ByteArrayInputStream baos = new ByteArrayInputStream("ok".getBytes("UTF-8")); result[2] = baos; return result; - + } else if (what.equals("qq")) { + return QQ. } else if (what.equals("czspp")) { return Czsapp.loadsub(params.get("url")); }