Add EsMi2Manga (#1274)

* Add EsMi2Manga

* Is Nsfw
This commit is contained in:
bapeey 2024-02-15 13:02:01 -05:00 committed by Draff
parent 75558ac6da
commit f20236ab94
7 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'Es.Mi2Manga'
extClass = '.EsMi2Manga'
themePkg = 'madara'
baseUrl = 'https://es.mi2manga.com'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,21 @@
package eu.kanade.tachiyomi.extension.es.esmi2manga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class EsMi2Manga : Madara(
"Es.Mi2Manga",
"https://es.mi2manga.com",
"es",
SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
) {
override val client = super.client.newBuilder()
.rateLimit(2, 1, TimeUnit.SECONDS)
.build()
override fun popularMangaSelector() = "div.site-content div.page-item-detail:not(:has(a[href*='bilibilicomics.com']))$mangaEntrySelector"
override fun searchMangaSelector() = "div.site-content div.c-tabs-item__content"
}