From aaad5da0711eb2b1438858f8aa1eb0288cd443c8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 3 Sep 2019 10:54:08 +0800 Subject: [PATCH] up --- .../java/io/legado/app/model/webbook/BookInfo.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/webbook/BookInfo.kt b/app/src/main/java/io/legado/app/model/webbook/BookInfo.kt index 1ad81cf11..533669207 100644 --- a/app/src/main/java/io/legado/app/model/webbook/BookInfo.kt +++ b/app/src/main/java/io/legado/app/model/webbook/BookInfo.kt @@ -11,17 +11,17 @@ object BookInfo { @Throws(Exception::class) fun analyzeBookInfo( - book: Book, - body: String?, - bookSource: BookSource, - analyzeUrl: AnalyzeUrl + book: Book, + body: String?, + bookSource: BookSource, + analyzeUrl: AnalyzeUrl ) { val baseUrl = analyzeUrl.url body ?: throw Exception( - App.INSTANCE.getString( - R.string.error_get_web_content, - baseUrl - ) + App.INSTANCE.getString( + R.string.error_get_web_content, + baseUrl + ) ) SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取成功:$baseUrl") val infoRule = bookSource.getBookInfoRule()