mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2026-11-04 18:52:12 +00:00
'更新可用状态'
This commit is contained in:
1 parent
cb32c92baf
commit
d83f7aa911
4 files changed
+8
-8
No files matched your search
@@ -87,7 +87,7 @@ public class MainActivity extends Activity {
|
|||||||
|
|
||||||
public void categoryContent() {
|
public void categoryContent() {
|
||||||
try {
|
try {
|
||||||
Logger.t("categoryContent").d(spider.categoryContent("guochan", "2", true, new HashMap<>()));
|
Logger.t("categoryContent").d(spider.categoryContent("guochan", "1", true, new HashMap<>()));
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,10 +56,10 @@ public class CaoLiu extends Spider {
|
|||||||
String pic = element.select("img").attr("data-aes");
|
String pic = element.select("img").attr("data-aes");
|
||||||
String id = element.select("img").attr("alt");
|
String id = element.select("img").attr("alt");
|
||||||
// 获取图片进行解密
|
// 获取图片进行解密
|
||||||
String string = OkHttp.string(pic);
|
// String string = OkHttp.string(pic);
|
||||||
String picView = aesDecrypt(string);
|
// String picView = aesDecrypt(string);
|
||||||
String name = "看圖片";
|
String name = "看圖片";
|
||||||
list.add(new Vod(id, name, picView));
|
list.add(new Vod(id, name, pic));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -120,9 +120,9 @@ public class CaoLiu extends Spider {
|
|||||||
String href = element.attr("data-url").replace("read.php?tid=", "").split("&")[0];
|
String href = element.attr("data-url").replace("read.php?tid=", "").split("&")[0];
|
||||||
String name = element.select("h2").text();
|
String name = element.select("h2").text();
|
||||||
// 获取图片进行解密
|
// 获取图片进行解密
|
||||||
String string = OkHttp.string(pic);
|
// String string = OkHttp.string(pic);
|
||||||
String picView = aesDecrypt(string);
|
// String picView = aesDecrypt(string);
|
||||||
list.add(new Vod(href, name, picView));
|
list.add(new Vod(href, name, pic));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 文字列表模版
|
// 文字列表模版
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
898ae0f1047dd761bb91ed4e31be41f2
|
18db580eee9b3d5efdf9264132d39010
|
||||||
Reference in new issue
Block a user