diff --git a/src/zh/dmzj/build.gradle b/src/zh/dmzj/build.gradle index dc1595fec..7a54301c7 100644 --- a/src/zh/dmzj/build.gradle +++ b/src/zh/dmzj/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'DMZJ' pkgNameSuffix = 'zh.dmzj' extClass = '.Dmzj' - extVersionCode = 33 + extVersionCode = 34 } apply from: "$rootDir/common.gradle" diff --git a/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/ApiV3.kt b/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/ApiV3.kt index 2752ac34a..d9be298a3 100644 --- a/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/ApiV3.kt +++ b/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/ApiV3.kt @@ -48,7 +48,7 @@ object ApiV3 { class MangaDto( private val id: JsonPrimitive, // can be int or string private val title: String, - private val authors: String, + private val authors: String?, private val status: String, private val cover: String, private val types: String, @@ -57,7 +57,7 @@ object ApiV3 { fun toSManga() = SManga.create().apply { url = getMangaUrl(id.content) title = this@MangaDto.title - author = authors.formatList() + author = authors?.formatList() genre = types.formatList() status = parseStatus(this@MangaDto.status) thumbnail_url = cover