@ -400,6 +400,8 @@ public class ApiConfig {
}
private void parseJson(String apiUrl, String jsonStr) {
LOG.i("echo-parseJson"+jsonStr);
JsonObject infoJson = gson.fromJson(jsonStr, JsonObject.class);
// spider
spider = DefaultConfig.safeJsonString(infoJson, "spider", "");
@ -95,6 +95,10 @@ public class SourceViewModel extends ViewModel {
return;
SourceBean sourceBean = ApiConfig.get().getSource(sourceKey);
if(sourceBean.getName().contains("搜")){
sortResult.postValue(null);
int type = sourceBean.getType();
if (type == 3) {
Runnable waitResponse = new Runnable() {