From 2abf288e8ee47bf90c8bbd41a6f3d87249e5dfb7 Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 7 Sep 2020 19:50:27 +0800 Subject: [PATCH] =?UTF-8?q?rss=E9=93=BE=E6=8E=A5=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E7=BB=84=E5=90=88=E7=9B=B8=E5=AF=B9url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt b/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt index 1351bbaf8..047d39459 100644 --- a/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt +++ b/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt @@ -107,7 +107,7 @@ object RssParserByRule { rssArticle.image = analyzeRule.getString(ruleImage, true) Debug.log(sourceUrl, "└${rssArticle.image}", log) Debug.log(sourceUrl, "┌获取文章链接", log) - rssArticle.link = analyzeRule.getString(ruleLink) + rssArticle.link = NetworkUtils.getAbsoluteURL(sourceUrl, analyzeRule.getString(ruleLink))!! Debug.log(sourceUrl, "└${rssArticle.link}", log) if (rssArticle.title.isBlank()) { return null