diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index bdd18608c..4a958caa1 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -68,7 +68,7 @@ class AnalyzeUrl( init { baseUrl?.let { - this.baseUrl = it.split(",\n*".toRegex(), 1)[0] + this.baseUrl = it.split(",[^\\{]*".toRegex(), 1)[0] } headerMapF?.let { headerMap.putAll(it) } //替换参数