秦华影视 v1.0.0版本的 MD5 值为:90520322e40df4849cf4989ab6339524
以下内容为反编译后的 d30.java 源代码,内容仅作参考
package p.a.y.e.a.s.e.net;
import android.content.Context;
import android.text.TextUtils;
import com.getmessage.module_base.web.FileManager;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
public class d30 extends p40<JSONObject> {
private a40 lite_else;
private d30(String str, Context context) {
super(str, context);
}
public static d30 lite_short(Context context, a40 a40Var) {
d30 d30Var = new d30(String.format("https://%s/gettype.php?gt=", a40Var.lite_do()) + a40Var.lite_import() + "&t=" + System.currentTimeMillis(), context);
d30Var.lite_int(0);
d30Var.lite_break("Gettype");
d30Var.lite_else = a40Var;
return d30Var;
}
@Override
public boolean lite_char(int i, h50<String, JSONObject> h50Var, JSONObject jSONObject) {
F f;
String optString = jSONObject.optString("user_error");
try {
if (!TextUtils.isEmpty(optString)) {
try {
f = URLDecoder.decode(optString, FileManager.CODE_ENCODING);
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
f = optString;
}
String optString2 = jSONObject.optString("error_code");
if (optString2 != null) {
optString2 = optString2.replaceAll("[a-zA-Z]", "");
}
h50Var.lite_do = f;
?? jSONObject2 = new JSONObject();
jSONObject2.put("error_code", optString2);
h50Var.lite_if = jSONObject2;
return true;
}
JSONObject optJSONObject = jSONObject.optJSONObject("data");
if (optJSONObject == null) {
h50Var.lite_do = jSONObject.toString() + ": " + lite_if("data");
return false;
}
String optString3 = optJSONObject.optString("type");
JSONObject optJSONObject2 = optJSONObject.optJSONObject("aspect_radio");
if (optJSONObject2 == null) {
h50Var.lite_do = jSONObject.toString() + ": " + lite_if("aspect_radio");
return false;
}
HashMap hashMap = new HashMap();
Iterator<String> keys = optJSONObject2.keys();
while (keys.hasNext()) {
String next = keys.next();
hashMap.put(next, Integer.valueOf(optJSONObject2.optInt(next)));
}
String optString4 = optJSONObject.optString("fullpage");
String optString5 = optJSONObject.optString("click");
String optString6 = optJSONObject.optString("voice");
String optString7 = optJSONObject.optString("slide");
String optString8 = optJSONObject.optString("geetest");
JSONArray optJSONArray = optJSONObject.optJSONArray("static_servers");
ArrayList arrayList = new ArrayList();
if (optJSONArray != null) {
for (int i2 = 0; optJSONArray.length() > i2; i2++) {
String optString9 = optJSONArray.optString(i2);
if (!TextUtils.isEmpty(optString9)) {
arrayList.add(optString9);
}
}
}
g40 g40Var = new g40();
g40Var.lite_int(hashMap);
g40Var.lite_if(optString5);
g40Var.lite_byte(optString8);
g40Var.lite_case(optString7);
g40Var.lite_char(optString3);
g40Var.lite_else(optString4);
g40Var.lite_goto(optString6);
g40Var.lite_for(arrayList);
g40Var.lite_new(optJSONObject);
this.lite_else.lite_int(g40Var);
h50Var.lite_do = "OK";
h50Var.lite_if = jSONObject;
return true;
} catch (Exception e2) {
e2.printStackTrace();
h50Var.lite_do = jSONObject.toString() + ": " + e2.toString();
return false;
}
}
@Override
public boolean lite_class() {
return false;
}
@Override
public Map<String, String> lite_void() {
HashMap m = r5.m("Content-Type", "application/x-www-form-urlencoded");
a40 a40Var = this.lite_else;
if (a40Var != null) {
m.put("Host", a40Var.lite_do());
}
byte[] bArr = this.lite_try;
m.put("Content-Length", String.valueOf(bArr == null ? 0 : bArr.length));
return m;
}
}