mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2025-10-27 18:12:22 +00:00
'更新可用状态'
This commit is contained in:
@@ -77,7 +77,7 @@ public class Ikanbot extends Spider {
|
||||
@Override
|
||||
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
|
||||
String target = cateUrl + tid + "-热门";
|
||||
if (pg != "1"){
|
||||
if (!"1".equals(pg)){
|
||||
target = target + "-p-" + pg;
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(target.concat(".html"), getHeaders()));
|
||||
|
||||
@@ -90,7 +90,7 @@ public class MiMei extends Spider {
|
||||
@Override
|
||||
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
|
||||
String target = cateUrl + tid;
|
||||
if (pg == "1"){
|
||||
if ("1".equals(pg)){
|
||||
target = target ;
|
||||
}else {
|
||||
target = target + "/index_" + pg + ".html";
|
||||
|
||||
Reference in New Issue
Block a user