Merge pull request #125 from daji888/patch-7

Update AppYs.java
This commit is contained in:
catvod 2022-03-12 22:37:09 +08:00 committed by GitHub
commit 9003145059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -101,8 +101,6 @@ public class AppYs extends Spider {
typeN = "语言";
else if (type.equals("year"))
typeN = "年份";
else if (type.equals("letter"))
typeN = "字母";
}
JSONObject jOne = new JSONObject();
jOne.put("key", type);
@ -212,7 +210,6 @@ public class AppYs extends Spider {
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));