From 117a5719d7ca0f65f2b3b85e603e17fd686b0fa7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 28 Jul 2019 09:22:32 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/WebBook.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/WebBook.kt b/app/src/main/java/io/legado/app/model/WebBook.kt index e6703866b..b0528aa21 100644 --- a/app/src/main/java/io/legado/app/model/WebBook.kt +++ b/app/src/main/java/io/legado/app/model/WebBook.kt @@ -16,7 +16,7 @@ class WebBook(private val bookSource: BookSource) { fun searchBook(key: String, page: Int?): Coroutine> { return Coroutine.async { bookSource.getSearchRule().searchUrl?.let { searchUrl -> - val analyzeUrl = AnalyzeUrl(searchUrl, key, page) + val analyzeUrl = AnalyzeUrl(searchUrl, key, page, baseUrl = bookSource.bookSourceUrl) val response = analyzeUrl.getResponseAsync().await() return@let BookList.analyzeBookList(response, bookSource, analyzeUrl) }