rss链接自动组合相对url

pull/363/head
gedoor 4 years ago
parent 64dcc81a8e
commit 2abf288e8e
  1. 2
      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

Loading…
Cancel
Save