add source Komiksay (#10509)

* add source Komiksay

* cleaning
This commit is contained in:
Riztard Lanthorn 2022-01-19 17:40:53 +07:00 committed by GitHub
parent 9feb6a165e
commit cbc2e8fa18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 21 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class OkamishiScans : Madara(
override val useNewChapterEndpoint: Boolean = true
override val altName: String = "Nome alternativo: "
override val mangaDetailsSelectorTitle: String = "div.post-title h1"
// Tags are full of garbage, so remove them.

View File

@ -17,6 +17,6 @@ class HuntersScan : Madara(
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
.build()
override val altName: String = "Nome alternativo: "
}

View File

@ -53,4 +53,3 @@ class YugenMangasBr : YugenMangas(
override val useNewChapterEndpoint: Boolean = true
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -0,0 +1,18 @@
package eu.kanade.tachiyomi.extension.id.komiksay
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class Komiksay : WPMangaStream("Komiksay", "https://komiksay.com", "id") {
private val rateLimitInterceptor = RateLimitInterceptor(4)
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.addNetworkInterceptor(rateLimitInterceptor)
.build()
override val hasProjectPage = true
}

View File

@ -55,6 +55,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
SingleLang("Omega Scans", "https://omegascans.org", "en", isNsfw = true),
SingleLang("Geass Hentai", "https://geassscan.xyz", "pt-BR", isNsfw = true, overrideVersionCode = 2),
SingleLang("TukangKomik", "https://tukangkomik.com", "id"),
SingleLang("Komiksay", "https://komiksay.com", "id"),
)
companion object {