|
|
@ -184,9 +184,7 @@ class DownloadService : BaseService() { |
|
|
|
scope = this, |
|
|
|
scope = this, |
|
|
|
context = searchPool |
|
|
|
context = searchPool |
|
|
|
).onError { |
|
|
|
).onError { |
|
|
|
it.localizedMessage?.let { |
|
|
|
Download.addLog(it.localizedMessage) |
|
|
|
Download.addLog(it) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}.onSuccess(IO) { content -> |
|
|
|
}.onSuccess(IO) { content -> |
|
|
|
downloadCount[book.bookUrl]?.increaseSuccess() |
|
|
|
downloadCount[book.bookUrl]?.increaseSuccess() |
|
|
|
BookHelp.saveContent(book, bookChapter, content) |
|
|
|
BookHelp.saveContent(book, bookChapter, content) |
|
|
|