From 150a167c3e62bfb3769b2dcca083219c72f9dce3 Mon Sep 17 00:00:00 2001 From: haleydu <924323178@qq.com> Date: Sun, 26 Jul 2020 16:07:59 +0800 Subject: [PATCH] fix tuhao updatetime --- app/src/main/java/com/hiroshi/cimoc/source/TuHao.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/hiroshi/cimoc/source/TuHao.java b/app/src/main/java/com/hiroshi/cimoc/source/TuHao.java index 3c4fef02..4e3ef8d0 100644 --- a/app/src/main/java/com/hiroshi/cimoc/source/TuHao.java +++ b/app/src/main/java/com/hiroshi/cimoc/source/TuHao.java @@ -65,6 +65,7 @@ protected Comic parse(Node node) { String cid = node.hrefWithSplit("li > a", 1); String cover = node.attr("a.pic > img", "src"); String update = node.text("li.updata > a > span"); + return new Comic(TYPE, cid, title, cover, update, null); } }; @@ -83,7 +84,7 @@ public void parseInfo(String html, Comic comic) throws UnsupportedEncodingExcept String intro = body.text("p#comic-description"); String title = body.text("div.cy_title > h1"); - String update = ""; + String update = body.text("div.cy_zhangjie_top > p >font");; String author = body.text("div.cy_xinxi > span:eq(0)"); // 连载状态