From 0540da57e6418cbe7b915fa2d6a618618497e77d Mon Sep 17 00:00:00 2001 From: devi Date: Fri, 13 Sep 2024 20:15:46 +0200 Subject: [PATCH] Update Sources Close #1060 --- .../site/foolslide/en/ReaderEvilflowers.kt | 12 ------- .../parsers/site/heancms/es/YugenMangasEs.kt | 2 +- .../parsers/site/iken/en/PhiliaScans.kt | 12 +++++++ .../parsers/site/iken/en/VortexScans.kt | 2 +- .../parsers/site/keyoapp/KeyoappParser.kt | 33 ++++++++++++++----- .../parsers/site/keyoapp/en/LuaScans.kt | 10 ++++++ .../parsers/site/keyoapp/en/MagusToon.kt | 25 +------------- .../parsers/site/madara/MadaraParser.kt | 1 + .../parsers/site/madara/en/AnisaScans.kt | 14 ++++++++ .../parsers/site/madara/en/MangaHall.kt | 2 +- .../site/madara/en/ReaderEvilflowers.kt | 12 +++++++ .../parsers/site/madara/es/BegaTranslation.kt | 13 ++++++++ .../parsers/site/madara/es/DoujinShell.kt | 4 +-- .../kotatsu/parsers/site/madara/es/MhScans.kt | 2 +- .../parsers/site/madara/tr/AlliedFansub.kt | 2 ++ .../parsers/site/madara/vi/PinkTeaComic.kt | 2 +- .../parsers/site/madara/vi/TruyenVn.kt | 2 +- .../en/{LuaScans.kt => MyShojo.kt} | 6 ++-- .../site/mangareader/en/VoidScansCo.kt | 2 ++ .../parsers/site/mangareader/id/Lianscans.kt | 2 +- .../site/mangareader/id/MangaTaleParser.kt | 2 +- .../site/mangareader/id/ManhwalistParser.kt | 4 +-- .../kotatsu/parsers/site/pt/YugenMangas.kt | 2 +- .../parsers/site/zeistmanga/ar/XsanoManga.kt | 10 ++++++ .../parsers/site/zeistmanga/id/IchiroManga.kt | 2 +- .../parsers/site/zeistmanga/id/UlasComic.kt | 10 ++++++ 26 files changed, 129 insertions(+), 61 deletions(-) delete mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/foolslide/en/ReaderEvilflowers.kt create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/PhiliaScans.kt create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/LuaScans.kt create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/AnisaScans.kt create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/ReaderEvilflowers.kt create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/BegaTranslation.kt rename src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/{LuaScans.kt => MyShojo.kt} (61%) create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/ar/XsanoManga.kt create mode 100644 src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/UlasComic.kt diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/foolslide/en/ReaderEvilflowers.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/foolslide/en/ReaderEvilflowers.kt deleted file mode 100644 index a21779f7d..000000000 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/foolslide/en/ReaderEvilflowers.kt +++ /dev/null @@ -1,12 +0,0 @@ -package org.koitharu.kotatsu.parsers.site.foolslide.en - -import org.koitharu.kotatsu.parsers.Broken -import org.koitharu.kotatsu.parsers.MangaLoaderContext -import org.koitharu.kotatsu.parsers.MangaSourceParser -import org.koitharu.kotatsu.parsers.model.MangaParserSource -import org.koitharu.kotatsu.parsers.site.foolslide.FoolSlideParser - -@Broken -@MangaSourceParser("READER_EVILFLOWERS", "Evil Flowers", "en") -internal class ReaderEvilflowers(context: MangaLoaderContext) : - FoolSlideParser(context, MangaParserSource.READER_EVILFLOWERS, "reader.evilflowers.com") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/heancms/es/YugenMangasEs.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/heancms/es/YugenMangasEs.kt index 9cac71436..6d19ed448 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/heancms/es/YugenMangasEs.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/heancms/es/YugenMangasEs.kt @@ -9,4 +9,4 @@ import org.koitharu.kotatsu.parsers.site.heancms.HeanCms @Broken // Not dead but changed template @MangaSourceParser("YUGEN_MANGAS_ES", "YugenMangas.lat", "es", ContentType.HENTAI) internal class YugenMangasEs(context: MangaLoaderContext) : - HeanCms(context, MangaParserSource.YUGEN_MANGAS_ES, "ikigaimangas.fraviral.com") + HeanCms(context, MangaParserSource.YUGEN_MANGAS_ES, "lectorikigai.erigu.com") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/PhiliaScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/PhiliaScans.kt new file mode 100644 index 000000000..b71098f1e --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/PhiliaScans.kt @@ -0,0 +1,12 @@ +package org.koitharu.kotatsu.parsers.site.iken.en + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.iken.IkenParser + +@MangaSourceParser("PHILIASCANS", "PhiliaScans", "en") +internal class PhiliaScans(context: MangaLoaderContext) : + IkenParser(context, MangaParserSource.PHILIASCANS, "vortextoon.com") { + override val selectPages = "main section img" +} diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/VortexScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/VortexScans.kt index 4ef992e93..a3d599569 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/VortexScans.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/iken/en/VortexScans.kt @@ -7,6 +7,6 @@ import org.koitharu.kotatsu.parsers.site.iken.IkenParser @MangaSourceParser("VORTEXSCANS", "VortexScans", "en") internal class VortexScans(context: MangaLoaderContext) : - IkenParser(context, MangaParserSource.VORTEXSCANS, "vortexscans.org") { + IkenParser(context, MangaParserSource.VORTEXSCANS, "vortextoon.com") { override val selectPages = "main section img" } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/KeyoappParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/KeyoappParser.kt index f64a2d58c..95bbece85 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/KeyoappParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/KeyoappParser.kt @@ -241,15 +241,32 @@ internal abstract class KeyoappParser( override suspend fun getPages(chapter: MangaChapter): List { val fullUrl = chapter.url.toAbsoluteUrl(domain) val doc = webClient.httpGet(fullUrl).parseHtml() - return doc.select(selectPage).map { img -> - val url = img.src()?.toRelativeUrl(domain) ?: img.parseFailed("Image src not found") - MangaPage( - id = generateUid(url), - url = url, - preview = null, - source = source, - ) + val cdnUrl = doc.selectFirstOrThrow("script:containsData(primaryUrl)").data().substringAfter("https://cdn.") + .substringBefore("\${uid}") + + if (cdnUrl.isNotEmpty()) { + return doc.select(selectPage).map { img -> + val uid = img.attr("uid") ?: img.parseFailed("Image src not found") + val url = "https://cdn.$cdnUrl$uid" + MangaPage( + id = generateUid(url), + url = url, + preview = null, + source = source, + ) + } + } else { + return doc.select(selectPage).map { img -> + val url = img.src()?.toRelativeUrl(domain) ?: img.parseFailed("Image src not found") + MangaPage( + id = generateUid(url), + url = url, + preview = null, + source = source, + ) + } } + } protected fun parseChapterDate(dateFormat: DateFormat, date: String?): Long { diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/LuaScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/LuaScans.kt new file mode 100644 index 000000000..750f59f84 --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/LuaScans.kt @@ -0,0 +1,10 @@ +package org.koitharu.kotatsu.parsers.site.keyoapp.en + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.keyoapp.KeyoappParser + +@MangaSourceParser("LUASCANS", "luaComic.net", "en") +internal class LuaScans(context: MangaLoaderContext) : + KeyoappParser(context, MangaParserSource.LUASCANS, "luacomic.net") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/MagusToon.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/MagusToon.kt index 111d5e324..a9aa20dea 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/MagusToon.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/keyoapp/en/MagusToon.kt @@ -2,32 +2,9 @@ package org.koitharu.kotatsu.parsers.site.keyoapp.en import org.koitharu.kotatsu.parsers.MangaLoaderContext import org.koitharu.kotatsu.parsers.MangaSourceParser -import org.koitharu.kotatsu.parsers.model.MangaChapter -import org.koitharu.kotatsu.parsers.model.MangaPage import org.koitharu.kotatsu.parsers.model.MangaParserSource import org.koitharu.kotatsu.parsers.site.keyoapp.KeyoappParser -import org.koitharu.kotatsu.parsers.util.domain -import org.koitharu.kotatsu.parsers.util.generateUid -import org.koitharu.kotatsu.parsers.util.parseFailed -import org.koitharu.kotatsu.parsers.util.parseHtml -import org.koitharu.kotatsu.parsers.util.toAbsoluteUrl @MangaSourceParser("MAGUSMANGA", "MagusToon", "en") internal class MagusToon(context: MangaLoaderContext) : - KeyoappParser(context, MangaParserSource.MAGUSMANGA, "magustoon.com") { - - override suspend fun getPages(chapter: MangaChapter): List { - val fullUrl = chapter.url.toAbsoluteUrl(domain) - val doc = webClient.httpGet(fullUrl).parseHtml() - return doc.select(selectPage).map { img -> - val id = img.attr("uid") ?: img.parseFailed("Image id not found") - val url = "https://cdn.$domain/x/$id" - MangaPage( - id = generateUid(url), - url = url, - preview = null, - source = source, - ) - } - } -} + KeyoappParser(context, MangaParserSource.MAGUSMANGA, "magustoon.com") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/MadaraParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/MadaraParser.kt index 797c2d429..9c4bda499 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/MadaraParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/MadaraParser.kt @@ -588,6 +588,7 @@ internal abstract class MadaraParser( altTitle = alt, state = state, chapters = chaptersDeferred.await(), + isNsfw = doc.selectFirst(".adult-confirm") != null, ) } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/AnisaScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/AnisaScans.kt new file mode 100644 index 000000000..21c00f50e --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/AnisaScans.kt @@ -0,0 +1,14 @@ +package org.koitharu.kotatsu.parsers.site.madara.en + +import org.koitharu.kotatsu.parsers.Broken +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.madara.MadaraParser + +@Broken +@MangaSourceParser("ANISASCANS", "AnisaScans", "en") +internal class AnisaScans(context: MangaLoaderContext) : + MadaraParser(context, MangaParserSource.ANISASCANS, "anisascans.in", 36) { + override val datePattern = "dd MMM, yyyy" +} diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/MangaHall.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/MangaHall.kt index cd1e4f647..3b7d2cae1 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/MangaHall.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/MangaHall.kt @@ -8,4 +8,4 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser @MangaSourceParser("MANGAHALL", "MangaHall", "en", ContentType.HENTAI) internal class MangaHall(context: MangaLoaderContext) : - MadaraParser(context, MangaParserSource.MANGAHALL, "mangahall.net", 24) + MadaraParser(context, MangaParserSource.MANGAHALL, "mangageek.org", 24) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/ReaderEvilflowers.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/ReaderEvilflowers.kt new file mode 100644 index 000000000..906cb2e37 --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/en/ReaderEvilflowers.kt @@ -0,0 +1,12 @@ +package org.koitharu.kotatsu.parsers.site.madara.en + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.madara.MadaraParser + +@MangaSourceParser("READER_EVILFLOWERS", "EvilFlowers", "en") +internal class ReaderEvilflowers(context: MangaLoaderContext) : + MadaraParser(context, MangaParserSource.READER_EVILFLOWERS, "evilflowers.com", pageSize = 10) { + override val listUrl = "project/" +} diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/BegaTranslation.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/BegaTranslation.kt new file mode 100644 index 000000000..21c5a988b --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/BegaTranslation.kt @@ -0,0 +1,13 @@ +package org.koitharu.kotatsu.parsers.site.madara.es + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.madara.MadaraParser + +@MangaSourceParser("BEGATRANSLATION", "BegaTranslation", "es") +internal class BegaTranslation(context: MangaLoaderContext) : + MadaraParser(context, MangaParserSource.BEGATRANSLATION, "begatranslation.com") { + override val datePattern = "dd/MM/yyyy" + override val listUrl = "series/" +} diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/DoujinShell.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/DoujinShell.kt index b023e5dee..bb15980a7 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/DoujinShell.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/DoujinShell.kt @@ -10,7 +10,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser internal class DoujinShell(context: MangaLoaderContext) : MadaraParser(context, MangaParserSource.DOUJINSHELL, "www.doujinshell.com", 10) { override val datePattern = "dd MMMM, yyyy" - override val listUrl = "/doujin" - override val tagPrefix = "/doujin-genero" + override val listUrl = "doujin/" + override val tagPrefix = "doujin-genero/" override val selectPage = "img:not(.aligncenter)" } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/MhScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/MhScans.kt index afd2ae037..62fecba60 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/MhScans.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/es/MhScans.kt @@ -7,7 +7,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser @MangaSourceParser("MHSCANS", "MhScans", "es") internal class MhScans(context: MangaLoaderContext) : - MadaraParser(context, MangaParserSource.MHSCANS, "mhscans.manhuaonline.org") { + MadaraParser(context, MangaParserSource.MHSCANS, "mh.cookni.net") { override val datePattern = "d 'de' MMMMM 'de' yyyy" override val listUrl = "series/" } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/tr/AlliedFansub.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/tr/AlliedFansub.kt index ed60b153c..a0fcb44a8 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/tr/AlliedFansub.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/tr/AlliedFansub.kt @@ -1,11 +1,13 @@ package org.koitharu.kotatsu.parsers.site.madara.tr +import org.koitharu.kotatsu.parsers.Broken import org.koitharu.kotatsu.parsers.MangaLoaderContext import org.koitharu.kotatsu.parsers.MangaSourceParser import org.koitharu.kotatsu.parsers.model.ContentType import org.koitharu.kotatsu.parsers.model.MangaParserSource import org.koitharu.kotatsu.parsers.site.madara.MadaraParser +@Broken @MangaSourceParser("ALLIED_FANSUB", "AlliedFansub", "tr", ContentType.HENTAI) internal class AlliedFansub(context: MangaLoaderContext) : MadaraParser(context, MangaParserSource.ALLIED_FANSUB, "alliedfansub.net", 20) { diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/PinkTeaComic.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/PinkTeaComic.kt index 6768eeb3e..96fd9a08e 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/PinkTeaComic.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/PinkTeaComic.kt @@ -7,6 +7,6 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser @MangaSourceParser("PINKTEACOMIC", "PinkTeaComic", "vi") internal class PinkTeaComic(context: MangaLoaderContext) : - MadaraParser(context, MangaParserSource.PINKTEACOMIC, "pinkteacomic.com") { + MadaraParser(context, MangaParserSource.PINKTEACOMIC, "pinkteacomics.com") { override val datePattern = "d MMMM, yyyy" } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/TruyenVn.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/TruyenVn.kt index 4ae86213c..f938f9e7a 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/TruyenVn.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/madara/vi/TruyenVn.kt @@ -8,7 +8,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser @MangaSourceParser("TRUYENVN", "TruyenVn", "vi", ContentType.HENTAI) internal class TruyenVn(context: MangaLoaderContext) : - MadaraParser(context, MangaParserSource.TRUYENVN, "truyenvn.cam", 20) { + MadaraParser(context, MangaParserSource.TRUYENVN, "truyenvn.mobi", 20) { override val listUrl = "truyen-tranh/" override val tagPrefix = "the-loai/" override val datePattern = "dd/MM/yyyy" diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/LuaScans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/MyShojo.kt similarity index 61% rename from src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/LuaScans.kt rename to src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/MyShojo.kt index 1a00088f0..4041c38e3 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/LuaScans.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/MyShojo.kt @@ -5,8 +5,8 @@ import org.koitharu.kotatsu.parsers.MangaSourceParser import org.koitharu.kotatsu.parsers.model.MangaParserSource import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser -@MangaSourceParser("LUASCANS", "luaComic.net", "en") -internal class LuaScans(context: MangaLoaderContext) : - MangaReaderParser(context, MangaParserSource.LUASCANS, "luacomic.net", pageSize = 20, searchPageSize = 10) { +@MangaSourceParser("MYSHOJO", "MyShojo", "en") +internal class MyShojo(context: MangaLoaderContext) : + MangaReaderParser(context, MangaParserSource.MYSHOJO, "myshojo.com", pageSize = 20, searchPageSize = 10) { override val isTagsExclusionSupported = false } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/VoidScansCo.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/VoidScansCo.kt index 3fd948e31..335cbc8a4 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/VoidScansCo.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/en/VoidScansCo.kt @@ -1,10 +1,12 @@ package org.koitharu.kotatsu.parsers.site.mangareader.en +import org.koitharu.kotatsu.parsers.Broken import org.koitharu.kotatsu.parsers.MangaLoaderContext import org.koitharu.kotatsu.parsers.MangaSourceParser import org.koitharu.kotatsu.parsers.model.MangaParserSource import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser +@Broken @MangaSourceParser("VOIDSCANS_CO", "VoidScans", "en") internal class VoidScansCo(context: MangaLoaderContext) : MangaReaderParser(context, MangaParserSource.VOIDSCANS_CO, "voidscans.co", pageSize = 30, searchPageSize = 42) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/Lianscans.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/Lianscans.kt index 731593c0c..9d7260f18 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/Lianscans.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/Lianscans.kt @@ -8,6 +8,6 @@ import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser @MangaSourceParser("LIANSCANS", "LianScans", "id", ContentType.HENTAI) internal class Lianscans(context: MangaLoaderContext) : - MangaReaderParser(context, MangaParserSource.LIANSCANS, "www.lianscans.my.id", pageSize = 10, searchPageSize = 10) { + MangaReaderParser(context, MangaParserSource.LIANSCANS, "www.lianscans.com", pageSize = 10, searchPageSize = 10) { override val datePattern = "MMM d, yyyy" } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/MangaTaleParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/MangaTaleParser.kt index 164deca4e..482a7b4d9 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/MangaTaleParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/MangaTaleParser.kt @@ -8,7 +8,7 @@ import java.util.* @MangaSourceParser("MANGATALE", "MangaTale", "id") internal class MangaTaleParser(context: MangaLoaderContext) : - MangaReaderParser(context, MangaParserSource.MANGATALE, "mangatale.co", pageSize = 20, searchPageSize = 10) { + MangaReaderParser(context, MangaParserSource.MANGATALE, "mangatale.id", pageSize = 20, searchPageSize = 10) { override val sourceLocale: Locale = Locale.ENGLISH override val isTagsExclusionSupported = false } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/ManhwalistParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/ManhwalistParser.kt index f2553d5ba..8f539fa30 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/ManhwalistParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/mangareader/id/ManhwalistParser.kt @@ -6,8 +6,8 @@ import org.koitharu.kotatsu.parsers.model.MangaParserSource import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser import java.util.* -@MangaSourceParser("MANHWALIST", "ManhwaList.com", "id") +@MangaSourceParser("MANHWALIST", "ManhwaList.in", "id") internal class ManhwalistParser(context: MangaLoaderContext) : - MangaReaderParser(context, MangaParserSource.MANHWALIST, "manhwalist.com", pageSize = 24, searchPageSize = 10) { + MangaReaderParser(context, MangaParserSource.MANHWALIST, "manhwalist.in", pageSize = 24, searchPageSize = 10) { override val sourceLocale: Locale = Locale.ENGLISH } diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/pt/YugenMangas.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/pt/YugenMangas.kt index d3b380124..9c7f3bfa6 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/pt/YugenMangas.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/pt/YugenMangas.kt @@ -16,7 +16,7 @@ import java.util.* class YugenMangas(context: MangaLoaderContext) : PagedMangaParser(context, MangaParserSource.YUGENMANGAS, 28) { override val availableSortOrders: Set = EnumSet.of(SortOrder.UPDATED, SortOrder.ALPHABETICAL) - override val configKeyDomain = ConfigKey.Domain("yugenweb.com") + override val configKeyDomain = ConfigKey.Domain("yugenmangasbr.voblog.xyz") override fun onCreateConfig(keys: MutableCollection>) { super.onCreateConfig(keys) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/ar/XsanoManga.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/ar/XsanoManga.kt new file mode 100644 index 000000000..2125fa42c --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/ar/XsanoManga.kt @@ -0,0 +1,10 @@ +package org.koitharu.kotatsu.parsers.site.zeistmanga.ar + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.zeistmanga.ZeistMangaParser + +@MangaSourceParser("XSANOMANGA", "XsanoManga", "ar") +internal class XsanoManga(context: MangaLoaderContext) : + ZeistMangaParser(context, MangaParserSource.XSANOMANGA, "www.xsano-manga.com") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/IchiroManga.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/IchiroManga.kt index e4c9ceac2..979d527b8 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/IchiroManga.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/IchiroManga.kt @@ -7,4 +7,4 @@ import org.koitharu.kotatsu.parsers.site.zeistmanga.ZeistMangaParser @MangaSourceParser("ICHIROMANGA", "IchiroManga", "id") internal class IchiroManga(context: MangaLoaderContext) : - ZeistMangaParser(context, MangaParserSource.ICHIROMANGA, "www.ichiromanga.my.id") + ZeistMangaParser(context, MangaParserSource.ICHIROMANGA, "ichiromanga.my.id") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/UlasComic.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/UlasComic.kt new file mode 100644 index 000000000..f7d363aab --- /dev/null +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/zeistmanga/id/UlasComic.kt @@ -0,0 +1,10 @@ +package org.koitharu.kotatsu.parsers.site.zeistmanga.id + +import org.koitharu.kotatsu.parsers.MangaLoaderContext +import org.koitharu.kotatsu.parsers.MangaSourceParser +import org.koitharu.kotatsu.parsers.model.MangaParserSource +import org.koitharu.kotatsu.parsers.site.zeistmanga.ZeistMangaParser + +@MangaSourceParser("ULASCOMIC", "UlasComic", "id") +internal class UlasComic(context: MangaLoaderContext) : + ZeistMangaParser(context, MangaParserSource.ULASCOMIC, "www.ulascomic.xyz")