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 3d42ede02..f4661ae45 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 @@ -37,12 +37,12 @@ object RssParserByRule { Debug.log(sourceUrl, "┌获取列表") val collections = analyzeRule.getElements(ruleArticles) Debug.log(sourceUrl, "└列表大小:${collections.size}") - val ruleTitle = analyzeRule.splitSourceRule(rssSource.ruleTitle ?: "") - val rulePubDate = analyzeRule.splitSourceRule(rssSource.rulePubDate ?: "") - val ruleCategories = analyzeRule.splitSourceRule(rssSource.ruleCategories ?: "") - val ruleDescription = analyzeRule.splitSourceRule(rssSource.ruleDescription ?: "") - val ruleImage = analyzeRule.splitSourceRule(rssSource.ruleImage ?: "") - val ruleLink = analyzeRule.splitSourceRule(rssSource.ruleLink ?: "") + val ruleTitle = analyzeRule.splitSourceRule(rssSource.ruleTitle) + val rulePubDate = analyzeRule.splitSourceRule(rssSource.rulePubDate) + val ruleCategories = analyzeRule.splitSourceRule(rssSource.ruleCategories) + val ruleDescription = analyzeRule.splitSourceRule(rssSource.ruleDescription) + val ruleImage = analyzeRule.splitSourceRule(rssSource.ruleImage) + val ruleLink = analyzeRule.splitSourceRule(rssSource.ruleLink) for ((index, item) in collections.withIndex()) { getItem( sourceUrl, item, analyzeRule, index == 0, ruleTitle,