Skip to content

Commit

Permalink
Update AppYs.java
Browse files Browse the repository at this point in the history
  • Loading branch information
daji888 authored Mar 3, 2022
1 parent 673c08d commit 270e72d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/java/com/github/catvod/spider/AppYs.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ else if (type.equals("area"))
else if (type.equals("lang"))
typeN = "语言";
else if (type.equals("year"))
typeN = "年代";
typeN = "年份";
else if (type.equals("letter"))
typeN = "字母";
}
JSONObject jOne = new JSONObject();
jOne.put("key", type);
Expand Down Expand Up @@ -210,6 +212,7 @@ public String categoryContent(String tid, String pg, boolean filter, HashMap<Str
url = url.replace("筛选area", (extend != null && extend.containsKey("area")) ? extend.get("area") : "");
url = url.replace("筛选lang", (extend != null && extend.containsKey("lang")) ? extend.get("lang") : "");
url = url.replace("筛选year", (extend != null && extend.containsKey("year")) ? extend.get("year") : "");
url = url.replace("筛选letter", (extend != null && extend.containsKey("letter")) ? extend.get("letter") : "");
url = url.replace("排序", (extend != null && extend.containsKey("排序")) ? extend.get("排序") : "");
SpiderDebug.log(url);
String json = OkHttpUtil.string(url, getHeaders(url));
Expand Down

0 comments on commit 270e72d

Please sign in to comment.