QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 SearchReSouBangConfig.java 源代码,内容仅作参考
package com.tencent.mtt.search.view.common.cloudconfig;
import android.text.TextUtils;
import com.tencent.mtt.search.statistics.SearchLog;
import org.json.JSONException;
import org.json.JSONObject;
public class SearchReSouBangConfig {
private ReSouBangItem f70559a;
private boolean f70560b;
public SearchReSouBangConfig(String str) {
a(str);
}
public String a() {
ReSouBangItem reSouBangItem = this.f70559a;
return reSouBangItem != null ? reSouBangItem.e() : "";
}
public void a(String str) {
if (TextUtils.isEmpty(str)) {
SearchLog.a("云控信息", "热搜榜", "解析配置为空", -1);
return;
}
SearchLog.a("云控信息", "热搜榜", "配置解析:" + str, 1);
try {
JSONObject jSONObject = new JSONObject(str);
this.f70559a = new ReSouBangItem();
this.f70559a.e(jSONObject.optString("whiteImageUrl"));
this.f70559a.b(jSONObject.optString("resouImageUrl"));
this.f70559a.c(jSONObject.optString("blackImageUrl"));
this.f70559a.f(jSONObject.optString("grayImageUrl"));
this.f70559a.d(jSONObject.optString("jumpUrl"));
this.f70560b = true;
} catch (JSONException unused) {
SearchLog.a("云控信息", "热搜榜", "配置解析失败", -1);
}
}
public String b() {
ReSouBangItem reSouBangItem = this.f70559a;
return reSouBangItem != null ? reSouBangItem.f() : "";
}
public String c() {
ReSouBangItem reSouBangItem = this.f70559a;
return reSouBangItem != null ? reSouBangItem.c() : "";
}
public String d() {
ReSouBangItem reSouBangItem = this.f70559a;
return reSouBangItem != null ? reSouBangItem.d() : "https://so.html5.qq.com/page/real/search_result?q=%E7%83%AD%E6%90%9C%E6%A6%9C&jump_from=1_11_02_01";
}
}