diff --git a/src/en/doujins/build.gradle b/src/en/doujins/build.gradle index 61fc50ddb..423ceffde 100644 --- a/src/en/doujins/build.gradle +++ b/src/en/doujins/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Doujins' pkgNameSuffix = 'en.doujins' extClass = '.Doujins' - extVersionCode = 3 + extVersionCode = 4 isNsfw = true } diff --git a/src/en/doujins/src/eu/kanade/tachiyomi/extension/en/doujins/Doujins.kt b/src/en/doujins/src/eu/kanade/tachiyomi/extension/en/doujins/Doujins.kt index eac3ff6af..5ae43cf43 100644 --- a/src/en/doujins/src/eu/kanade/tachiyomi/extension/en/doujins/Doujins.kt +++ b/src/en/doujins/src/eu/kanade/tachiyomi/extension/en/doujins/Doujins.kt @@ -46,10 +46,12 @@ class Doujins : HttpSource() { override fun chapterListParse(response: Response): List { return listOf( SChapter.create().apply { + var element = response.asJsoup() name = "Chapter" + scanlator = element.select("div.folder-message:contains(Translated)").text().substringAfter("by:").trim() setUrlWithoutDomain(response.request.url.toString()) - val dateAndPageCountString = response.asJsoup().select(".text-md-right.text-sm-left > .folder-message").text() + val dateAndPageCountString = element.select(".text-md-right.text-sm-left > .folder-message").text() val date = dateAndPageCountString.substringBefore(" • ") for (dateFormat in MANGA_DETAILS_DATE_FORMAT) {