Fix DesuMe parser

This commit is contained in:
Koitharu
2021-02-01 20:37:41 +02:00
parent c25ee93ccb
commit 1f2f40f077
3 changed files with 13 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ class MangaIndex(source: String?) {
)
}.getOrNull()
fun getCoverEntry(): String? = json.optString("cover_entry")
fun getCoverEntry(): String? = json.getStringOrNull("cover_entry")
fun addChapter(chapter: MangaChapter) {
val chapters = json.getJSONObject("chapters")