diff --git a/app/src/main/java/com/github/catvod/spider/AppYs.java b/app/src/main/java/com/github/catvod/spider/AppYs.java index 963174a..025c67f 100644 --- a/app/src/main/java/com/github/catvod/spider/AppYs.java +++ b/app/src/main/java/com/github/catvod/spider/AppYs.java @@ -100,7 +100,9 @@ public class AppYs extends Spider { 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); @@ -210,6 +212,7 @@ 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));