diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt index 0d5438348..0d5a5a3f7 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt @@ -245,9 +245,9 @@ class AnalyzeByJSoup(doc: Any) { val url = element.attr(lastRule) - if(url.isEmpty() || textS.contains(url)) break - - textS.add(url) + if (url.isNotBlank() && !textS.contains(url)) { + textS.add(url) + } } } } catch (e: Exception) {