diff --git a/src/InternetSearch/Client/QuakeClient.java b/src/InternetSearch/Client/QuakeClient.java index fee044d3..a2b7643d 100644 --- a/src/InternetSearch/Client/QuakeClient.java +++ b/src/InternetSearch/Client/QuakeClient.java @@ -74,9 +74,9 @@ public List parseResp(String respbody) { } else { try { //IP的搜索结果可能没有这个字段 - entry.setRootDomain(entryitem.getString("domain")); + entry.setHost(entryitem.getString("domain")); } catch (Exception e1) { - entry.setRootDomain(entryitem.getString("hostname")); + entry.setHost(entryitem.getString("hostname")); } }