From 87032a6835787d37dea37ca5a520a2a278aceab3 Mon Sep 17 00:00:00 2001 From: devi Date: Fri, 20 Oct 2023 15:28:14 +0200 Subject: [PATCH] Minor daily update --- .../kotatsu/parsers/site/id/DoujinDesuParser.kt | 2 +- .../kotatsu/parsers/site/madara/pt/AkiManga.kt | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/pt/AkiManga.kt diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/id/DoujinDesuParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/id/DoujinDesuParser.kt index bfa5c2d8..ed6000d0 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/id/DoujinDesuParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/id/DoujinDesuParser.kt @@ -97,7 +97,7 @@ class DoujinDesuParser(context: MangaLoaderContext) : PagedMangaParser(context, publicUrl = relativeUrl.toAbsoluteUrl(domain), rating = RATING_UNKNOWN, isNsfw = true, - coverUrl = it.selectFirst(".thumbnail > img")?.attrAsAbsoluteUrl("src").orEmpty(), + coverUrl = it.selectFirst(".thumbnail > img")?.src().orEmpty(), tags = emptySet(), state = null, author = null, diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/pt/AkiManga.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/pt/AkiManga.kt new file mode 100644 index 00000000..721b5147 --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/pt/AkiManga.kt @@ -0,0 +1,12 @@ +package org.koitharu.kotatsu.parsers.site.madara.pt + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaSource +import org.koitharu.kotatsu.parsers.site.madara.MadaraParser + +@MangaSourceParser("AKIMANGA", "AkiManga", "pt") +internal class AkiManga(context: MangaLoaderContext) : + MadaraParser(context, MangaSource.AKIMANGA, "akimanga.com") { + override val datePattern = "dd/MM/yyyy" +}