Skip to content

Commit

Permalink
Merge pull request CatVodTVOfficial#126 from daji888/patch-8
Browse files Browse the repository at this point in the history
Update AppYsV2.java
  • Loading branch information
catvod authored Mar 12, 2022
2 parents 070ac37 + b47066a commit 0ce39ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/java/com/github/catvod/spider/AppYsV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ else if (type.equals("lang"))
typeN = "语言";
else if (type.equals("year"))
typeN = "年份";
else if (type.equals("letter"))
typeN = "字母";
}
JSONObject jOne = new JSONObject();
jOne.put("key", type);
Expand Down Expand Up @@ -212,7 +210,6 @@ 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 = desc(OkHttpUtil.string(url, getHeaders(url)), (byte) 2);
Expand Down

0 comments on commit 0ce39ae

Please sign in to comment.