pull/32/head
kunfei 5 years ago
parent 117a5719d7
commit e324e9ca07
  1. 2
      app/src/main/java/io/legado/app/model/WebBook.kt

@ -29,7 +29,7 @@ class WebBook(private val bookSource: BookSource) {
bookSource.getSearchRule().searchUrl?.let { searchUrl -> bookSource.getSearchRule().searchUrl?.let { searchUrl ->
val analyzeUrl = AnalyzeUrl(searchUrl, key, page) val analyzeUrl = AnalyzeUrl(searchUrl, key, page)
val response = analyzeUrl.getResponseAsync().await() val response = analyzeUrl.getResponseAsync().await()
return@async BookList.analyzeBookList(response, bookSource, analyzeUrl, false) return@let BookList.analyzeBookList(response, bookSource, analyzeUrl, false)
} }
return@async arrayListOf<SearchBook>() return@async arrayListOf<SearchBook>()
} }

Loading…
Cancel
Save