Update factory code, Manga1st: add source, MangaRave: fix date (#6344)
* Update factory code update madara factory chapter page selector * Manga1st: add source, MangaRave: fix date add manga1st source fix mangarave chapter timestamp
This commit is contained in:
parent
d9b0633efd
commit
c6278d2462
|
@ -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"),
|
||||
|
|
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
|
@ -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))
|
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
|
@ -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<Page> {
|
||||
return document.select(pageListParseSelector).mapIndexed { index, element ->
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue