pull/32/head
kunfei 5 years ago
parent f714d53038
commit 3b5fef949d
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt
  2. 2
      app/src/main/java/io/legado/app/model/content/BookList.kt

@ -174,7 +174,7 @@ class AnalyzeRule(private var book: BaseBook? = null) {
} }
Mode.JSon -> result = getAnalyzeByJSonPath(result).getString(rule.rule) Mode.JSon -> result = getAnalyzeByJSonPath(result).getString(rule.rule)
Mode.XPath -> result = getAnalyzeByXPath(result).getString(rule.rule) Mode.XPath -> result = getAnalyzeByXPath(result).getString(rule.rule)
AnalyzeRule.Mode.Default -> result = if (isUrl && !TextUtils.isEmpty(baseUrl)) { Mode.Default -> result = if (isUrl && !TextUtils.isEmpty(baseUrl)) {
getAnalyzeByJSoup(result).getString0(rule.rule) getAnalyzeByJSoup(result).getString0(rule.rule)
} else { } else {
getAnalyzeByJSoup(result).getString(rule.rule) getAnalyzeByJSoup(result).getString(rule.rule)

@ -1,2 +0,0 @@
package io.legado.app.model.content
Loading…
Cancel
Save