Madara: fix 1 pages issue for some source (#10182)
This commit is contained in:
parent
47efb9dce9
commit
af25e1d443
|
@ -1,7 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.en.manga1st
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
class Manga1st : Madara("Manga1st", "https://manga1st.com", "en") {
|
||||
override val pageListParseSelector = "div.page-break, li.blocks-gallery-item, .reading-content .text-left:not(:has(.blocks-gallery-item)) img"
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
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 = "div.page-break, li.blocks-gallery-item, .reading-content .text-left:not(:has(.blocks-gallery-item)) img"
|
||||
}
|
|
@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
|
||||
class ManhuaUS : Madara("ManhuaUS", "https://manhuaus.com", "en") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
|
||||
override val pageListParseSelector = "div.page-break, li.blocks-gallery-item, .reading-content .text-left:not(:has(.blocks-gallery-item)) img"
|
||||
}
|
||||
|
|
|
@ -597,7 +597,7 @@ abstract class Madara(
|
|||
return super.pageListRequest(chapter)
|
||||
}
|
||||
|
||||
open val pageListParseSelector = "div.page-break, li.blocks-gallery-item, .reading-content .text-left:not(:has(.blocks-gallery-item)) :has(>img)"
|
||||
open val pageListParseSelector = "div.page-break, li.blocks-gallery-item, .reading-content .text-left:not(:has(.blocks-gallery-item)) img"
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
countViews(document)
|
||||
|
|
|
@ -10,7 +10,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
|
||||
override val themeClass = "Madara"
|
||||
|
||||
override val baseVersionCode: Int = 14
|
||||
override val baseVersionCode: Int = 15
|
||||
|
||||
override val sources = listOf(
|
||||
MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 9),
|
||||
|
|
Loading…
Reference in New Issue