mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 11:42:47 +01:00
Add Knight No Scanlation to Madara (#645)
* Add KnightNoScanlation * Add icon * Missing import * Fix status
This commit is contained in:
parent
4e5edb4b56
commit
88b60005f3
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -0,0 +1,24 @@
|
||||
package eu.kanade.tachiyomi.extension.es.knightnoscanlation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class KnightNoScanlation : Madara(
|
||||
"Knight No Scanlation",
|
||||
"https://knightnoscanlation.com",
|
||||
"es",
|
||||
SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
||||
) {
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimitHost(baseUrl.toHttpUrl(), 2, 1, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val mangaSubString = "sr"
|
||||
|
||||
override val mangaDetailsSelectorStatus = "div.post-content_item:contains(Status) div.summary-content"
|
||||
}
|
@ -175,6 +175,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||
SingleLang("Kings-Manga", "https://www.kings-manga.co", "th", className = "KingsManga"),
|
||||
SingleLang("Kissmanga.in", "https://kissmanga.in", "en", className = "KissmangaIn", overrideVersionCode = 3),
|
||||
SingleLang("KlikManga", "https://klikmanga.id", "id", overrideVersionCode = 2),
|
||||
SingleLang("Knight No Scanlation", "https://knightnoscanlation.com", "es", isNsfw = true),
|
||||
SingleLang("Koinobori Scan", "https://koinoboriscan.com", "es", isNsfw = true),
|
||||
SingleLang("Komik Chan", "https://komikchan.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Komik Gue", "https://komikgue.pro", "id", isNsfw = true),
|
||||
|
Loading…
Reference in New Issue
Block a user