add two new sources to madara & remove two sources (#8002)

* Delete multisrc/overrides/madara/mangalazy directory

* Delete multisrc/overrides/madara/mangadna directory

* icons

* Create MangaFast.kt

* Update MadaraGenerator.kt

* Delete multisrc/overrides/madara/mangafast directory

* Add files via upload

* Create MangafastCom.kt

* Update MangafastCom.kt

* Update MadaraGenerator.kt

* Update MangafastCom.kt

* Delete multisrc/overrides/madara/mangafastcom directory

* Update MadaraGenerator.kt

* scansraw icon

* add scansraw

* Update MadaraGenerator.kt
This commit is contained in:
CVIUS 2021-07-08 18:41:28 +08:00 committed by GitHub
parent 9abc341c39
commit 5017db9388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 3 additions and 70 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

@ -1,48 +0,0 @@
package eu.kanade.tachiyomi.extension.en.mangadna
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.model.SManga
import java.util.Locale
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
import okhttp3.Request
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import java.text.SimpleDateFormat
import java.util.Locale
class MangaDNA : Madara(
"MangaDNA",
"https://mangadna.com",
"en",
dateFormat = SimpleDateFormat("dd MMM yyyy", Locale.US)
) {
override fun popularMangaSelector() = "div.manga-item"
override val popularMangaUrlSelector = "div > h3 > a"
override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/manga/page/$page?orderby=trending")
}
override fun latestUpdatesRequest(page: Int): Request {
return GET("$baseUrl/manga/page/$page?orderby=latest")
}
override val pageListParseSelector = "div.read-content img"
override fun pageListParse(document: Document): List<Page> {
return document.select(pageListParseSelector).mapIndexed { index, element ->
Page(
index,
document.location(),
element?.let {
it.absUrl(if (it.hasAttr("data-src")) "data-src" else "src")
}
)
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

View File

@ -1,20 +0,0 @@
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") {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
.build()
override val pageListParseSelector = ".reading-content div.z_content:nth-child(2) > img:nth-child(n)"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -30,6 +30,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("AkuManga", "https://akumanga.com", "ar", overrideVersionCode = 1),
SingleLang("AllPornComic", "https://allporncomic.com", "en", isNsfw = true),
SingleLang("Ancient Empire Scan", "https://ancientempirescan.website", "es", overrideVersionCode = 1),
SingleLang("Aqua Manga", "https://aquamanga.com", "en"),
SingleLang("Anisa Manga", "https://anisamanga.com", "tr"),
SingleLang("ApollComics", "https://apollcomics.xyz", "es", overrideVersionCode = 1),
SingleLang("ArabMkr", "https://arabmkr.me", "ar"),
@ -153,7 +154,6 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("MangaBox", "https://mangabox.org", "en"),
SingleLang("MangaClash", "https://mangaclash.com", "en", overrideVersionCode = 3),
SingleLang("MangaCultivator", "https://mangacultivator.com", "en", overrideVersionCode = 1),
SingleLang("MangaDNA", "https://mangadna.com", "en"),
SingleLang("MangaDods", "https://www.mangadods.com", "en", overrideVersionCode = 2),
SingleLang("MangaEffect", "https://mangaeffect.com", "en", overrideVersionCode = 1),
SingleLang("MangaFort", "https://mangafort.com", "en"),
@ -162,7 +162,6 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("MangaHZ", "https://mangahz.com", "en", isNsfw = true),
SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true, overrideVersionCode = 4),
SingleLang("MangaKomi", "https://mangakomi.com", "en", overrideVersionCode = 4),
SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("MangaLime", "https://mangalime.com", "en"),
SingleLang("MangaLionz", "https://mangalionz.com", "ar"),
SingleLang("MangaMe", "https://mangame.org", "en", overrideVersionCode = 1),
@ -173,6 +172,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("MangaSpark", "https://mangaspark.com", "ar", overrideVersionCode = 1),
SingleLang("MangaStein", "https://mangastein.com", "tr", overrideVersionCode = 1),
SingleLang("MangaStic", "https://mangastic.com", "en"),
SingleLang("MangaTone", "https://mangatone.com", "en"),
SingleLang("MangaTK", "https://mangatk.com", "en"),
SingleLang("MangaTX", "https://mangatx.com", "en", overrideVersionCode = 1),
SingleLang("MangaTeca", "https://www.mangateca.com", "pt-BR", overrideVersionCode = 2),
@ -260,6 +260,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("SISI GELAP", "https://sisigelap.club/", "id", overrideVersionCode = 1),
SingleLang("SamuraiScan", "https://samuraiscan.com", "es"),
SingleLang("Sani-Go", "https://sani-go.net", "ar", className = "SaniGo", overrideVersionCode = 1),
SingleLang("Scans Raw", "https://scansraw.com", "en"),
SingleLang("Setsu Scans", "https://setsuscans.com", "en", overrideVersionCode = 1),
SingleLang("Shield Manga", "https://shieldmanga.club", "en", overrideVersionCode = 2),
SingleLang("Shooting Star Scans", "https://shootingstarscans.xyz", "en", overrideVersionCode = 1),