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 826c9aaba..bdd0fb06a 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 @@ -158,15 +158,6 @@ class AnalyzeUrl( } } - /** - * 分解URL - */ - private fun generateUrlPath(ruleUrl: String) { - baseUrl?.let { url = NetworkUtils.getAbsoluteURL(it, ruleUrl) } - host = NetworkUtils.getBaseUrl(url) - path = url!!.substring(host!!.length) - } - /** * 执行JS */