Skip to content

Commit

Permalink
Update HunterClient.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Oct 25, 2024
1 parent b1ec847 commit b148b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InternetSearch/Client/HunterClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public List<SearchResultEntry> parseResp(String respbody) {
try {
JSONObject obj = new JSONObject(respbody);
int code = obj.getInt("code");
if (code ==200) {
if (code ==200 || code ==40205) {
JSONObject data = obj.getJSONObject("data");
if (!data.get("arr").toString().equals("null")) {
//"arr":null 这里有点反直觉
Expand Down

0 comments on commit b148b9f

Please sign in to comment.