'更新可用状态'

This commit is contained in:
zhangjie committed 2024-03-22 11:10:04 +08:00
1 parent 1e45aabb50
commit 939941d778
4 files changed
+3 -3

No files matched your search

@@ -77,7 +77,7 @@ public class Ikanbot extends Spider {
@Override @Override
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception { public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
String target = cateUrl + tid + "-热门"; String target = cateUrl + tid + "-热门";
if (pg != "1"){ if (!"1".equals(pg)){
target = target + "-p-" + pg; target = target + "-p-" + pg;
} }
Document doc = Jsoup.parse(OkHttp.string(target.concat(".html"), getHeaders())); Document doc = Jsoup.parse(OkHttp.string(target.concat(".html"), getHeaders()));
@@ -90,7 +90,7 @@ public class MiMei extends Spider {
@Override @Override
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception { public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
String target = cateUrl + tid; String target = cateUrl + tid;
if (pg == "1"){ if ("1".equals(pg)){
target = target ; target = target ;
}else { }else {
target = target + "/index_" + pg + ".html"; target = target + "/index_" + pg + ".html";
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
28f47abc72a01b1aeaaf6522a789d7c3 fecec7675f16835c6a40fa1b657a773b