diff --git a/src/en/dynasty/build.gradle b/src/en/dynasty/build.gradle index 06c328730..3bbc93479 100644 --- a/src/en/dynasty/build.gradle +++ b/src/en/dynasty/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Dynasty' pkgNameSuffix = 'en.dynasty' extClass = '.DynastyFactory' - extVersionCode = 14 + extVersionCode = 15 libVersion = '1.2' } diff --git a/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyDoujins.kt b/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyDoujins.kt index c27403223..f0119f0d6 100644 --- a/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyDoujins.kt +++ b/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyDoujins.kt @@ -37,6 +37,7 @@ class DynastyDoujins : DynastyScans() { override fun mangaDetailsParse(document: Document): SManga { val manga = SManga.create().apply { + title = document.selectFirst("div.tags > h2.tag-title > b").text().substringAfter("Doujins › ") thumbnail_url = document.select("a.thumbnail img").firstOrNull()?.attr("abs:src") ?.replace("/thumb/", "/medium/") } diff --git a/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyScans.kt b/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyScans.kt index 94a414005..88e0131a0 100644 --- a/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyScans.kt +++ b/src/en/dynasty/src/eu/kanade/tachiyomi/extension/en/dynasty/DynastyScans.kt @@ -107,7 +107,8 @@ abstract class DynastyScans : ParsedHttpSource() { } protected fun parseHeader(document: Document, manga: SManga): Boolean { - val elements = document.select("div.tags > h2.tag-title").first().getElementsByTag("a") + manga.title = document.selectFirst("div.tags > h2.tag-title > b").text() + val elements = document.selectFirst("div.tags > h2.tag-title").getElementsByTag("a") if (elements.isEmpty()) { return false }