Update src/main/kotlin/org/koitharu/kotatsu/parsers/site/all/WebtoonsParser.kt

Co-authored-by: Koitharu <nvasya95@gmail.com>
master
Naga 2 years ago committed by GitHub
parent 39eeaacdcb
commit 2e86c480ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -189,7 +189,7 @@ internal abstract class WebtoonsParser(
.mapJSON { jo -> parseTag(jo) }.associateBy { tag -> tag.key }
}
private val allTitleCache = SuspendLazy {
private val allTitleCache = SoftSuspendLazy {
makeRequest("/lineWebtoon/webtoon/titleList.json?").getJSONObject("titleList").getJSONArray("titles")
.mapJSON { jo ->
val titleNo = jo.getLong("titleNo")

Loading…
Cancel
Save