diff --git a/multisrc/overrides/madara/aloalivn/src/Aloalivn.kt b/multisrc/overrides/madara/aloalivn/src/Aloalivn.kt index 344d00163..15b8e097e 100644 --- a/multisrc/overrides/madara/aloalivn/src/Aloalivn.kt +++ b/multisrc/overrides/madara/aloalivn/src/Aloalivn.kt @@ -3,7 +3,6 @@ package eu.kanade.tachiyomi.extension.en.aloalivn import eu.kanade.tachiyomi.multisrc.madara.Madara class Aloalivn : Madara("Aloalivn", "https://aloalivn.com", "en") { - override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" override fun getGenreList() = listOf( Genre("Action", "action"), Genre("Adult", "adult"), diff --git a/multisrc/overrides/madara/manga347/src/Manga347.kt b/multisrc/overrides/madara/manga347/src/Manga347.kt index 09e28f7b4..edcfeb9aa 100644 --- a/multisrc/overrides/madara/manga347/src/Manga347.kt +++ b/multisrc/overrides/madara/manga347/src/Manga347.kt @@ -5,5 +5,5 @@ import java.text.SimpleDateFormat import java.util.Locale class Manga347 : Madara("Manga347", "https://manga347.com", "en", SimpleDateFormat("d MMM, yyyy", Locale.US)) { - override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" + } diff --git a/multisrc/overrides/madara/mangagreat/src/MangaGreat.kt b/multisrc/overrides/madara/mangagreat/src/MangaGreat.kt index 274cf3703..23c1acb1d 100644 --- a/multisrc/overrides/madara/mangagreat/src/MangaGreat.kt +++ b/multisrc/overrides/madara/mangagreat/src/MangaGreat.kt @@ -3,5 +3,5 @@ package eu.kanade.tachiyomi.extension.en.mangagreat import eu.kanade.tachiyomi.multisrc.madara.Madara class MangaGreat : Madara("MangaGreat", "https://mangagreat.com", "en") { - override val pageListParseSelector = "li.blocks-gallery-item" + } diff --git a/multisrc/overrides/madara/mangarave/src/MangaRave.kt b/multisrc/overrides/madara/mangarave/src/MangaRave.kt new file mode 100644 index 000000000..177c44239 --- /dev/null +++ b/multisrc/overrides/madara/mangarave/src/MangaRave.kt @@ -0,0 +1,7 @@ +package eu.kanade.tachiyomi.extension.en.mangarave + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import java.text.SimpleDateFormat +import java.util.Locale + +class MangaRave : Madara("MangaRave", "http://www.mangarave.com", "en", SimpleDateFormat("MMM-dd-yy", Locale.US)) diff --git a/multisrc/overrides/madara/manhuafast/src/ManhuaFast.kt b/multisrc/overrides/madara/manhuafast/src/ManhuaFast.kt index 9312dea6a..624481f6d 100644 --- a/multisrc/overrides/madara/manhuafast/src/ManhuaFast.kt +++ b/multisrc/overrides/madara/manhuafast/src/ManhuaFast.kt @@ -3,5 +3,5 @@ package eu.kanade.tachiyomi.extension.en.manhuafast import eu.kanade.tachiyomi.multisrc.madara.Madara class ManhuaFast : Madara("ManhuaFast", "https://manhuafast.com", "en") { - override val pageListParseSelector = "li.blocks-gallery-item" + } diff --git a/multisrc/overrides/madara/manhuaplus/src/ManhuaPlus.kt b/multisrc/overrides/madara/manhuaplus/src/ManhuaPlus.kt index 0c949656f..4215a424d 100644 --- a/multisrc/overrides/madara/manhuaplus/src/ManhuaPlus.kt +++ b/multisrc/overrides/madara/manhuaplus/src/ManhuaPlus.kt @@ -3,5 +3,5 @@ package eu.kanade.tachiyomi.extension.en.manhuaplus import eu.kanade.tachiyomi.multisrc.madara.Madara class ManhuaPlus : Madara("Manhua Plus", "https://manhuaplus.com", "en") { - override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" + } diff --git a/multisrc/overrides/madara/manhuaus/src/ManhuaUS.kt b/multisrc/overrides/madara/manhuaus/src/ManhuaUS.kt index 6972df0d4..d73995a56 100644 --- a/multisrc/overrides/madara/manhuaus/src/ManhuaUS.kt +++ b/multisrc/overrides/madara/manhuaus/src/ManhuaUS.kt @@ -3,5 +3,5 @@ package eu.kanade.tachiyomi.extension.en.manhuaus import eu.kanade.tachiyomi.multisrc.madara.Madara class ManhuaUS : Madara("ManhuaUS", "https://manhuaus.com", "en") { - override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" + } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/Madara.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/Madara.kt index 41fb5dfa3..fd77cad14 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/Madara.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/Madara.kt @@ -499,7 +499,7 @@ abstract class Madara( return super.pageListRequest(chapter) } - open val pageListParseSelector = "div.page-break" + open val pageListParseSelector = "div.page-break, li.blocks-gallery-item" override fun pageListParse(document: Document): List { return document.select(pageListParseSelector).mapIndexed { index, element -> diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 9fd298510..6d65adfdd 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -10,7 +10,7 @@ class MadaraGenerator : ThemeSourceGenerator { override val themeClass = "Madara" - override val baseVersionCode: Int = 1 + override val baseVersionCode: Int = 2 override val sources = listOf( SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr"), @@ -240,6 +240,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Sleeping Knight Scans", "https://skscans.com", "en", overrideVersionCode = 2), MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 3), + SingleLang("Manga1st", "https://manga1st.com", "en"), ) companion object {