various fixes for some madara sources (#7846)

* Delete multisrc/overrides/madara/animangaes/src directory

* Update MangaLazy.kt

* Delete additional.gradle.kts

* Update MangaLazy.kt

* Update MangaLazy.kt

* Create Manga4All.kt

* Create MangaMe.kt

* Create ManhuaDex.kt

* Delete multisrc/overrides/madara/mangame/res directory

* replace wrong mangame icon

* Update MadaraGenerator.kt

* Update MangaLazy.kt

* Update MangaLazy.kt

* Update Manga4All.kt

* Update ManhuaDex.kt

* Update MidnightMessScans.kt

* Update MadaraGenerator.kt

* {

* Update MidnightMessScans.kt

* Update MidnightMessScans.kt

* Update MidnightMessScans.kt

* Update MangaWeebs.kt

* Update MadaraGenerator.kt
This commit is contained in:
CVIUS 2021-06-25 20:44:37 +08:00 committed by GitHub
parent 30a5c1dd48
commit e6788c88e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 77 additions and 25 deletions

View File

@ -1,11 +0,0 @@
package eu.kanade.tachiyomi.extension.en.animangaes
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
class AniMangaEs : Madara("AniMangaEs", "https://animangaes.com", "en") {
override val pageListParseSelector = "div.text-left noscript"
override val chapterUrlSuffix = ""
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
}

View File

@ -0,0 +1,14 @@
package eu.kanade.tachiyomi.extension.en.manga4all
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class Manga4All : Madara(
"Manga4All",
"https://manga4all.net",
"en",
dateFormat = SimpleDateFormat("dd MMMMMM yyyy ", Locale.US)
) {
}

View File

@ -3,8 +3,11 @@ package eu.kanade.tachiyomi.extension.en.mangalazy
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.Page
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
@Nsfw
class MangaLazy : Madara("MangaLazy", "https://mangalazy.com", "en") {
@ -13,6 +16,13 @@ class MangaLazy : Madara("MangaLazy", "https://mangalazy.com", "en") {
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
.build()
override val pageListParseSelector = ".reading-content div.text-left div.imgs.loaded-inner :has(>img)"
override fun pageListParse(document: Document): List<Page> {
return document.select(pageListParseSelector).mapIndexed { index, element ->
Page(
index,
"",
element.select("img.d-block.mx-auto").attr("src")
)
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

View File

@ -0,0 +1,14 @@
package eu.kanade.tachiyomi.extension.en.mangame
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class MangaMe : Madara(
"MangaMe",
"https://mangame.org",
"en",
dateFormat = SimpleDateFormat("dd.MM.yyyy ", Locale.US)
) {
}

View File

@ -1,10 +1,12 @@
package eu.kanade.tachiyomi.extension.en.mangaweebs
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
import eu.kanade.tachiyomi.source.model.Page
import org.jsoup.nodes.Document
class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en") {
class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en", dateFormat = SimpleDateFormat("dd MMMM HH:mm", Locale.US)) {
override fun pageListParse(document: Document): List<Page> {
return document.select(pageListParseSelector).mapIndexed { index, element ->
Page(

View File

@ -0,0 +1,14 @@
package eu.kanade.tachiyomi.extension.en.manhuadex
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class ManhuaDex : Madara(
"ManhuaDex",
"https://manhuadex.com",
"en",
dateFormat = SimpleDateFormat("dd MMMM yyyy ", Locale.US)
) {
}

View File

@ -2,6 +2,19 @@ package eu.kanade.tachiyomi.extension.en.midnightmessscans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.source.model.SManga
import org.jsoup.nodes.Document
@Nsfw
class MidnightMessScans : Madara("Midnight Mess Scans", "https://midnightmess.org", "en")
class MidnightMessScans : Madara("Midnight Mess Scans", "https://midnightmess.org", "en") {
override fun mangaDetailsParse(document: Document): SManga {
val manga = SManga.create()
document.select("div.post-content").let {
manga.description = it.select("div.manga-excerpt").text()
}
return manga
}
}

View File

@ -1,4 +0,0 @@
dependencies {
implementation project(':lib-ratelimit')
}

View File

@ -134,7 +134,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manga SY", "https://www.mangasy.com", "en", overrideVersionCode = 1),
SingleLang("Manga Starz", "https://mangastarz.com", "ar"),
SingleLang("Manga Too", "https://mangatoo.com/", "en", overrideVersionCode = 1),
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 1),
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 2),
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("Manga18 Fx", "https://manga18fx.com", "en", overrideVersionCode = 1),
@ -142,7 +142,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manga1st.online", "https://manga1st.online", "en", className = "MangaFirstOnline", overrideVersionCode = 1),
SingleLang("Manga347", "https://manga347.com", "en", overrideVersionCode = 3),
SingleLang("Manga3S", "https://manga3s.com", "en", overrideVersionCode = 1),
SingleLang("Manga4All", "https://manga4all.net", "en"),
SingleLang("Manga4All", "https://manga4all.net", "en", overrideVersionCode = 1),
SingleLang("Manga68", "https://manga68.com", "en", overrideVersionCode = 1),
SingleLang("MangaBaz", "https://mangabaz.com", "tr"),
SingleLang("MangaBob", "https://mangabob.com", "en", overrideVersionCode = 1),
@ -153,9 +153,9 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("MangaGreat", "https://mangagreat.com", "en", overrideVersionCode = 1),
SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("MangaKomi", "https://mangakomi.com", "en", overrideVersionCode = 3),
SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true),
SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("MangaLionz", "https://mangalionz.com", "ar"),
SingleLang("MangaMe", "https://mangame.org", "en"),
SingleLang("MangaMe", "https://mangame.org", "en", overrideVersionCode = 1),
SingleLang("MangaPL", "https://mangapl.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("MangaRave", "https://www.mangarave.com", "en", overrideVersionCode = 2),
SingleLang("MangaRead.org", "https://www.mangaread.org", "en", className = "MangaReadOrg", overrideVersionCode = 1),
@ -184,7 +184,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manhua Plus", "https://manhuaplus.com", "en", overrideVersionCode = 3),
SingleLang("Manhua SY", "https://www.manhuasy.com", "en", overrideVersionCode = 1),
SingleLang("ManhuaBox", "https://manhuabox.net", "en", overrideVersionCode = 2),
SingleLang("ManhuaDex", "https://manhuadex.com", "en"),
SingleLang("ManhuaDex", "https://manhuadex.com", "en", overrideVersionCode = 1),
SingleLang("ManhuaFast", "https://manhuafast.com", "en", overrideVersionCode = 1),
SingleLang("ManhuaPro", "https://manhuapro.com", "en", overrideVersionCode = 2),
SingleLang("ManhuaUS", "https://manhuaus.com", "en", overrideVersionCode = 2),
@ -205,7 +205,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Mark Scans", "https://markscans.online", "pt-BR", overrideVersionCode = 2),
SingleLang("MHentais", "https://mhentais.com", "pt-BR", isNsfw = true),
SingleLang("NeoXXX Scans", "https://xxx.neoxscans.net", "pt-BR", isNsfw = true),
SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("Milftoon", "https://milftoon.xxx", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Mixed Manga", "https://mixedmanga.com", "en", overrideVersionCode = 1),
SingleLang("Mode Scanlator", "https://modescanlator.com", "pt-BR", overrideVersionCode = 1),