pull/32/head
kunfei 5 years ago
parent 987de5d042
commit 992b538954
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -121,7 +121,7 @@ class AnalyzeUrl(
* 处理URL
*/
private fun initUrl() {
val urlArray = ruleUrl.split(",\n*".toRegex(), 2)
val urlArray = ruleUrl.split(",[^\\{]*".toRegex(), 2)
url = urlArray[0]
host = NetworkUtils.getBaseUrl(url)
if (urlArray.size > 1) {

Loading…
Cancel
Save