Update Proxy.java
This commit is contained in:
@@ -42,7 +42,8 @@ public class Proxy extends Spider {
|
|||||||
if (type.equals("txt")) {
|
if (type.equals("txt")) {
|
||||||
String ext = params.get("ext");
|
String ext = params.get("ext");
|
||||||
if (!ext.startsWith("http")) {
|
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);
|
return TxtSubscribe.load(ext);
|
||||||
}
|
}
|
||||||
@@ -53,7 +54,8 @@ public class Proxy extends Spider {
|
|||||||
ByteArrayInputStream baos = new ByteArrayInputStream("ok".getBytes("UTF-8"));
|
ByteArrayInputStream baos = new ByteArrayInputStream("ok".getBytes("UTF-8"));
|
||||||
result[2] = baos;
|
result[2] = baos;
|
||||||
return result;
|
return result;
|
||||||
|
} else if (what.equals("qq")) {
|
||||||
|
return QQ.
|
||||||
} else if (what.equals("czspp")) {
|
} else if (what.equals("czspp")) {
|
||||||
return Czsapp.loadsub(params.get("url"));
|
return Czsapp.loadsub(params.get("url"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user