Madara fixes (#8801)
* Fix ManhwaNelo title parsing * Update Mangasushi chapter endpoint * Update Shooting Star Scans domain * Update MangaScantrad chapter endpoint * Update LeviatanScans chapter endpoint * Update MangaCultivator chapter endpoint
This commit is contained in:
parent
f77b170e45
commit
bfadf8211c
|
@ -10,5 +10,9 @@ class LeviatanScansFactory : SourceFactory {
|
|||
LeviatanScansES(),
|
||||
)
|
||||
}
|
||||
class LeviatanScansEN : Madara("Leviatan Scans", "https://leviatanscans.com", "en")
|
||||
class LeviatanScansES : Madara("Leviatan Scans", "https://es.leviatanscans.com", "es")
|
||||
class LeviatanScansEN : Madara("Leviatan Scans", "https://leviatanscans.com", "en") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
||||
class LeviatanScansES : Madara("Leviatan Scans", "https://es.leviatanscans.com", "es") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangacultivator
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
|
||||
class MangaCultivator : Madara("MangaCultivator", "https://mangacultivator.com", "en") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
|
@ -4,4 +4,6 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MangaScantrad : Madara("Manga-Scantrad", "https://manga-scantrad.net", "fr", SimpleDateFormat("d MMM yyyy", Locale.FRANCE))
|
||||
class MangaScantrad : Madara("Manga-Scantrad", "https://manga-scantrad.net", "fr", SimpleDateFormat("d MMM yyyy", Locale.FRANCE)) {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangasushi
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
|
||||
class Mangasushi : Madara("Mangasushi", "https://mangasushi.net", "en") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
|
@ -3,10 +3,28 @@ package eu.kanade.tachiyomi.extension.en.manhwanelo
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
import java.util.Locale
|
||||
|
||||
class ManhwaNelo : Madara("ManhwaNelo", "https://manhwanelo.com", "en") {
|
||||
|
||||
override fun popularMangaFromElement(element: Element): SManga {
|
||||
val manga = SManga.create()
|
||||
|
||||
with(element) {
|
||||
select("div.item-thumb a").first()?.let {
|
||||
manga.setUrlWithoutDomain(it.attr("abs:href"))
|
||||
manga.title = it.attr("title")
|
||||
}
|
||||
|
||||
select("img").first()?.let {
|
||||
manga.thumbnail_url = imageFromElement(it)
|
||||
}
|
||||
}
|
||||
|
||||
return manga
|
||||
}
|
||||
|
||||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
val manga = SManga.create()
|
||||
with(document) {
|
||||
|
|
|
@ -13,7 +13,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
override val baseVersionCode: Int = 11
|
||||
|
||||
override val sources = listOf(
|
||||
MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 6),
|
||||
MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 7),
|
||||
MultiLang("MangaForFree.net", "https://mangaforfree.net", listOf("en", "ko", "all"), isNsfw = true, className = "MangaForFreeFactory", pkgName = "mangaforfree", overrideVersionCode = 1),
|
||||
MultiLang("Manhwa18.cc", "https://manhwa18.cc", listOf("en", "ko", "all"), isNsfw = true, className = "Manhwa18CcFactory", pkgName = "manhwa18cc"),
|
||||
SingleLang("1st Kiss Manga.love", "https://1stkissmanga.love", "en", className = "FirstKissMangaLove"),
|
||||
|
@ -178,7 +178,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manga Too", "https://mangatoo.com/", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 5),
|
||||
SingleLang("Manga-Online.co", "https://www.manga-online.co", "th", className = "MangaOnlineCo"),
|
||||
SingleLang("Manga-Scantrad", "https://manga-scantrad.net", "fr", className = "MangaScantrad", overrideVersionCode = 1),
|
||||
SingleLang("Manga-Scantrad", "https://manga-scantrad.net", "fr", className = "MangaScantrad", overrideVersionCode = 2),
|
||||
SingleLang("Manga18 Fx", "https://manga18fx.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manga1st", "https://manga1st.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manga1st.online", "https://manga1st.online", "en", className = "MangaFirstOnline", overrideVersionCode = 1),
|
||||
|
@ -192,7 +192,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("MangaBoss", "https://mangaboss.org", "en"),
|
||||
SingleLang("MangaBox", "https://mangabox.org", "en"),
|
||||
SingleLang("MangaClash", "https://mangaclash.com", "en", overrideVersionCode = 3),
|
||||
SingleLang("MangaCultivator", "https://mangacultivator.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("MangaCultivator", "https://mangacultivator.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("MangaCV", "https://mangacv.com", "en", isNsfw = true),
|
||||
SingleLang("MangaDrago", "https://mangadrago.com", "en"),
|
||||
SingleLang("MangaDods", "https://www.mangadods.com", "en", overrideVersionCode = 2),
|
||||
|
@ -240,7 +240,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Mangaka3rb", "https://mangaka3rb.com", "ar"),
|
||||
SingleLang("Mangakik", "https://mangakik.com", "en"),
|
||||
SingleLang("Mangas Origines", "https://mangas-origines.fr", "fr", true, overrideVersionCode = 1),
|
||||
SingleLang("Mangasushi", "https://mangasushi.net", "en", overrideVersionCode = 1),
|
||||
SingleLang("Mangasushi", "https://mangasushi.net", "en", overrideVersionCode = 2),
|
||||
SingleLang("Mangauptocats", "https://mangauptocats.online", "th", overrideVersionCode = 1),
|
||||
SingleLang("Mangazuki.me", "https://mangazuki.me", "en", className = "MangazukiMe", overrideVersionCode = 1),
|
||||
SingleLang("Mangceh", "https://mangceh.me", "id", isNsfw = true, overrideVersionCode = 2),
|
||||
|
@ -270,7 +270,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manhwa.biz", "https://manhwa.biz", "en", isNsfw = true, className = "Manhwabiz"),
|
||||
SingleLang("ManhwaBookShelf", "https://manhwabookshelf.com", "en"),
|
||||
SingleLang("Manhwafull", "https://manhwafull.com", "en"),
|
||||
SingleLang("ManhwaNelo", "https://manhwanelo.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("ManhwaNelo", "https://manhwanelo.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("ManhwaPool", "https://manhwapool.com", "en"),
|
||||
SingleLang("Manhwatop", "https://manhwatop.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manhwahentai.me", "https://manhwahentai.me", "en", className = "ManhwahentaiMe", isNsfw = true, overrideVersionCode = 2),
|
||||
|
@ -340,7 +340,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Setsu Scans", "https://setsuscans.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Shield Manga", "https://shieldmanga.club", "en", overrideVersionCode = 2),
|
||||
SingleLang("ShinobiScans", "https://shinobiscans.com", "it"),
|
||||
SingleLang("Shooting Star Scans", "https://shootingstarscans.xyz", "en", overrideVersionCode = 1),
|
||||
SingleLang("Shooting Star Scans", "https://shootingstarscans.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("ShoujoHearts", "https://shoujohearts.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("SiXiang Scans", "http://www.sixiangscans.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Sinensis", "https://sinensisscan.com", "pt-BR", overrideVersionCode = 1),
|
||||
|
|
Loading…
Reference in New Issue