diff --git a/src/tr/kuroimanga/build.gradle b/src/tr/kuroimanga/build.gradle index 6cdde6300..82122b837 100644 --- a/src/tr/kuroimanga/build.gradle +++ b/src/tr/kuroimanga/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.KuroiManga' themePkg = 'madara' baseUrl = 'https://kuroimanga.com' - overrideVersionCode = 0 + overrideVersionCode = 1 isNsfw = true } diff --git a/src/tr/kuroimanga/src/eu/kanade/tachiyomi/extension/tr/kuroimanga/KuroiManga.kt b/src/tr/kuroimanga/src/eu/kanade/tachiyomi/extension/tr/kuroimanga/KuroiManga.kt index ca348e78e..f6909bf60 100644 --- a/src/tr/kuroimanga/src/eu/kanade/tachiyomi/extension/tr/kuroimanga/KuroiManga.kt +++ b/src/tr/kuroimanga/src/eu/kanade/tachiyomi/extension/tr/kuroimanga/KuroiManga.kt @@ -2,7 +2,9 @@ package eu.kanade.tachiyomi.extension.tr.kuroimanga import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter import org.jsoup.nodes.Document +import org.jsoup.nodes.Element import java.text.SimpleDateFormat import java.util.Locale @@ -26,4 +28,10 @@ class KuroiManga : Madara( } return pageList } + + override fun chapterFromElement(element: Element): SChapter { + return super.chapterFromElement(element).apply { + name = element.selectFirst("li > a")!!.text() + } + } }