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

Co-authored-by: Koitharu <nvasya95@gmail.com>
This commit is contained in:
Naga
2024-02-28 16:01:36 +01:00
committed by GitHub
parent 39eeaacdcb
commit 2e86c480ec

View File

@@ -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")